logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 25-02-2018 12:34:17

Debian Alain
Membre
Lieu : Bretagne
Distrib. : sid (unstable) / bullseye (stable)
Noyau : Linux sid 6.4.0-3-amd64
(G)UI : Gnome X.org (X11) / GDM3
Inscription : 11-03-2017
Site Web

[clos] utilisation de mastodon

bonjour ,

j'ai pas réussi à installer mastodon .

j'ai utilisé ce lien : https://angristan.fr/installer-instance … -debian-8/

mais je butte presque à la  fin .

là :

Ensuite on installe le reste :

gem install bundler
bundle install --deployment --without development test
yarn install


juste avant la section "configuration"

la ligne

bundle install --deployment --without development test


me crée  une avalanche de messages d'erreur en rouge .

tellement que j'ai renoncé à les  copier ici . sur demande éventuellement , je recommencerai la manip' 
et vous posterai  les messages en rouge .

mais il y en a beaucoup .

un p'tit coup de main ?

merci

tout compte fait , si , je vous poste le retour . mais il est long :

Fetching idn-ruby 0.1.0
Installing idn-ruby 0.1.0 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
/home/mastodon/live/vendor/bundle/ruby/2.5.0/gems/idn-ruby-0.1.0/ext
/home/mastodon/.rbenv/versions/2.5.0/bin/ruby -r
./siteconf20180225-8899-17re2nv.rb extconf.rb
checking for -lidn... no
ERROR: could not find idn library!

  Please install the GNU IDN library or alternatively specify at least one
  of the following options if the library can only be found in a non-standard
  location:
    --with-idn-dir=/path/to/non/standard/location
        or
    --with-idn-lib=/path/to/non/standard/location/lib
    --with-idn-include=/path/to/non/standard/location/include

*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
  --with-opt-dir
  --without-opt-dir
  --with-opt-include
  --without-opt-include=${opt-dir}/include
  --with-opt-lib
  --without-opt-lib=${opt-dir}/lib
  --with-make-prog
  --without-make-prog
  --srcdir=.
  --curdir
  --ruby=/home/mastodon/.rbenv/versions/2.5.0/bin/$(RUBY_BASE_NAME)
  --with-idn-dir
  --without-idn-dir
  --with-idn-include
  --without-idn-include=${idn-dir}/include
  --with-idn-lib
  --without-idn-lib=${idn-dir}/lib
  --with-idnlib
  --without-idnlib

To see why this extension failed to compile, please check the mkmf.log which can
be found here:

/home/mastodon/live/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0-static/idn-ruby-0.1.0/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in
/home/mastodon/live/vendor/bundle/ruby/2.5.0/gems/idn-ruby-0.1.0 for inspection.
Results logged to
/home/mastodon/live/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0-static/idn-ruby-0.1.0/gem_make.out

An error occurred while installing idn-ruby (0.1.0), and Bundler cannot
continue.
Make sure that `gem install idn-ruby -v '0.1.0'` succeeds before bundling.

In Gemfile:
  idn-ruby
 

Dernière modification par Debian Alain (26-02-2018 11:21:04)

Hors ligne

#2 25-02-2018 13:10:00

root@rkn
Membre
Lieu : Grenoble
Distrib. : Debian 10 Apache2 HTTPS HTTP/2 BROTLI REDIS
Noyau : PROD: 4.19.37-5 (2019-06-19) x86_64
(G)UI : headless - aucun
Inscription : 24-02-2018
Site Web

Re : [clos] utilisation de mastodon

Manque dependance pour commencer libidn

checking for -lidn... no
ERROR: could not find idn library!


IDN fait partie de libidn-1.33 ou de libidn11-dev
http://www.linuxfromscratch.org/blfs/vi … ibidn.html

donc

apt-cache policy libidn
et ensuite apt-get install ...

a priori, les dependances nescesaire a ubuntu sont:


imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev file git-core g++ libprotobuf-dev protobuf-compiler pkg-config nodejs gcc autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev nginx redis-server redis-tools postgresql postgresql-contrib letsencrypt yarn libidn11-dev libicu-dev
 

Dernière modification par root@rkn (25-02-2018 13:28:36)


- If it works, dont update it.
- You don't know how, just do it, you will learn.
- Test, re-stest, test again, and maybe it will work.
- https://nextcloud.rkn.ovh/index.php/s/3yp93A7oNMPexcp

Hors ligne

#3 25-02-2018 14:39:07

Debian Alain
Membre
Lieu : Bretagne
Distrib. : sid (unstable) / bullseye (stable)
Noyau : Linux sid 6.4.0-3-amd64
(G)UI : Gnome X.org (X11) / GDM3
Inscription : 11-03-2017
Site Web

Re : [clos] utilisation de mastodon

je dois être un gros nullos root@rkn ,

http://www.linuxfromscratch.org/blfs/vi … ibidn.html

regarde :

~$ ./configure --prefix=/usr --disable-static && make


bash: ./configure: Aucun fichier ou dossier de ce type



et puis :

apt policy libidn


N: Impossible de trouver le paquet libidn



je suis sous testing (buster) debian .

Dernière modification par Debian Alain (25-02-2018 15:19:44)

Hors ligne

#4 25-02-2018 15:29:46

root@rkn
Membre
Lieu : Grenoble
Distrib. : Debian 10 Apache2 HTTPS HTTP/2 BROTLI REDIS
Noyau : PROD: 4.19.37-5 (2019-06-19) x86_64
(G)UI : headless - aucun
Inscription : 24-02-2018
Site Web

Re : [clos] utilisation de mastodon

??

https://packages.debian.org/source/buster/libidn c'est pour buster donc simplement

apt-get install idn libidn11 libidn11-dev




Edit à toto : Mis la commande apt-get en utilisant la balise Commande root du forum. C'est joli mais surtout c'est plus clair ainsi pour les débutants.


- If it works, dont update it.
- You don't know how, just do it, you will learn.
- Test, re-stest, test again, and maybe it will work.
- https://nextcloud.rkn.ovh/index.php/s/3yp93A7oNMPexcp

Hors ligne

#5 25-02-2018 15:38:39

Debian Alain
Membre
Lieu : Bretagne
Distrib. : sid (unstable) / bullseye (stable)
Noyau : Linux sid 6.4.0-3-amd64
(G)UI : Gnome X.org (X11) / GDM3
Inscription : 11-03-2017
Site Web

Re : [clos] utilisation de mastodon

j'avais pas compris . merci .

on va voire la suite ...

~$ systemctl status mastodon-web.service mastodon-sidekiq.service mastodon-streaming.service


● mastodon-web.service - mastodon-web
   Loaded: error (Reason: Invalid argument)
   Active: inactive (dead)

● mastodon-sidekiq.service - mastodon-sidekiq
   Loaded: loaded (/etc/systemd/system/mastodon-sidekiq.service; disabled; vendo
   Active: active (running) since Sun 2018-02-25 16:13:54 CET; 4min 21s ago
 Main PID: 20525 (bundle)
    Tasks: 25 (limit: 4915)
   CGroup: /system.slice/mastodon-sidekiq.service
           └─20525 sidekiq 5.0.5 live [0 of 20 busy]

● mastodon-streaming.service - mastodon-streaming
   Loaded: loaded (/etc/systemd/system/mastodon-streaming.service; disabled; ven
   Active: active (running) since Sun 2018-02-25 16:14:04 CET; 4min 10s ago
 Main PID: 20572 (npm)
    Tasks: 27 (limit: 4915)
   CGroup: /system.slice/mastodon-streaming.service
           ├─20572 npm
           ├─20583 sh -c node ./streaming/index.js
           ├─20584 node ./streaming/index.js
           └─20590 /usr/bin/node /home/mastodon/live/streaming/index.js



# journalctl -u mastodon-web.service


-- Logs begin at Sun 2018-02-25 10:00:49 CET, end at Sun 2018-02-25 16:23:37 CET. --
févr. 25 16:10:18 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:10: Missing '='.
févr. 25 16:11:14 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:10: Missing '='.
févr. 25 16:12:45 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:3: Failed to add dependency on [Service], ignoring: Invalid argument
févr. 25 16:12:45 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:4: Unknown lvalue 'Type' in section 'Unit'
févr. 25 16:12:45 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:5: Unknown lvalue 'User' in section 'Unit'
févr. 25 16:12:45 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:6: Unknown lvalue 'WorkingDirectory' in section 'Unit'
févr. 25 16:12:45 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:7: Unknown lvalue 'Environment' in section 'Unit'
févr. 25 16:12:45 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:8: Unknown lvalue 'Environment' in section 'Unit'
févr. 25 16:12:45 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:9: Unknown lvalue 'ExecStart' in section 'Unit'
févr. 25 16:12:45 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:10: Missing '='.
févr. 25 16:12:52 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:3: Failed to add dependency on [Service], ignoring: Invalid argument
févr. 25 16:12:52 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:4: Unknown lvalue 'Type' in section 'Unit'
févr. 25 16:12:52 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:5: Unknown lvalue 'User' in section 'Unit'
févr. 25 16:12:52 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:6: Unknown lvalue 'WorkingDirectory' in section 'Unit'
févr. 25 16:12:52 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:7: Unknown lvalue 'Environment' in section 'Unit'
févr. 25 16:12:52 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:8: Unknown lvalue 'Environment' in section 'Unit'
févr. 25 16:12:52 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:9: Unknown lvalue 'ExecStart' in section 'Unit'
févr. 25 16:12:52 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:10: Missing '='.
févr. 25 16:13:39 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:3: Failed to add dependency on [Service], ignoring: Invalid argument
févr. 25 16:13:39 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:4: Unknown lvalue 'Type' in section 'Unit'
févr. 25 16:13:39 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:5: Unknown lvalue 'User' in section 'Unit'
févr. 25 16:13:39 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:6: Unknown lvalue 'WorkingDirectory' in section 'Unit'
...skipping...
févr. 25 16:17:59 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:4: Unknown lvalue 'Type' in section 'Unit'
févr. 25 16:17:59 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:5: Unknown lvalue 'User' in section 'Unit'
févr. 25 16:17:59 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:6: Unknown lvalue 'WorkingDirectory' in section 'Unit'
févr. 25 16:17:59 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:7: Unknown lvalue 'Environment' in section 'Unit'
févr. 25 16:17:59 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:8: Unknown lvalue 'Environment' in section 'Unit'
févr. 25 16:17:59 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:9: Unknown lvalue 'ExecStart' in section 'Unit'
févr. 25 16:17:59 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:10: Missing '='.
févr. 25 16:18:03 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:3: Failed to add dependency on [Service], ignoring: Invalid argument
févr. 25 16:18:03 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:4: Unknown lvalue 'Type' in section 'Unit'
févr. 25 16:18:03 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:5: Unknown lvalue 'User' in section 'Unit'
févr. 25 16:18:03 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:6: Unknown lvalue 'WorkingDirectory' in section 'Unit'
févr. 25 16:18:03 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:7: Unknown lvalue 'Environment' in section 'Unit'
févr. 25 16:18:03 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:8: Unknown lvalue 'Environment' in section 'Unit'
févr. 25 16:18:03 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:9: Unknown lvalue 'ExecStart' in section 'Unit'
févr. 25 16:18:03 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:10: Missing '='.
févr. 25 16:18:15 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:3: Failed to add dependency on [Service], ignoring: Invalid argument
févr. 25 16:18:15 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:4: Unknown lvalue 'Type' in section 'Unit'
févr. 25 16:18:15 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:5: Unknown lvalue 'User' in section 'Unit'
févr. 25 16:18:15 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:6: Unknown lvalue 'WorkingDirectory' in section 'Unit'
févr. 25 16:18:15 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:7: Unknown lvalue 'Environment' in section 'Unit'
févr. 25 16:18:15 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:8: Unknown lvalue 'Environment' in section 'Unit'
févr. 25 16:18:15 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:9: Unknown lvalue 'ExecStart' in section 'Unit'
févr. 25 16:18:15 Alain-PC-BUSTER systemd[1]: /etc/systemd/system/mastodon-web.service:10: Missing '='.
 



où ai je bien pu gaffer ?

ça y est , j'ai trouvé l'erreur .

un fichier mal recopié .

Dernière modification par Debian Alain (25-02-2018 16:45:43)

Hors ligne

#6 25-02-2018 16:22:02

root@rkn
Membre
Lieu : Grenoble
Distrib. : Debian 10 Apache2 HTTPS HTTP/2 BROTLI REDIS
Noyau : PROD: 4.19.37-5 (2019-06-19) x86_64
(G)UI : headless - aucun
Inscription : 24-02-2018
Site Web

Re : [clos] utilisation de mastodon

merci toto, j'ai du mal avec cette liste kilométrique et vu que je suis quarteron vietnamien, mes yeux sont bridés, j'avais pas vu le gros bouton Commande de sandwichs et boissons root

- If it works, dont update it.
- You don't know how, just do it, you will learn.
- Test, re-stest, test again, and maybe it will work.
- https://nextcloud.rkn.ovh/index.php/s/3yp93A7oNMPexcp

Hors ligne

#7 25-02-2018 16:23:48

bendia
Chadministrateur
Distrib. : openSUSE Tumbleweed, Buster
Noyau : Linux 5.9.1-2-default + Linux 4.19.0-12-amd64
(G)UI : Gnome + Console et un peu Fluxbox
Inscription : 20-03-2012
Site Web

Re : [clos] utilisation de mastodon

root@rkn a écrit :

merci toto, j'ai du mal avec cette liste kilométrique et vu que je suis quarteron vietnamien, mes yeux sont bridés, j'avais pas vu le gros bouton Commande de sandwichs et boissons root

[HS]Note que tu peux aussi taper les balises bbcode sans te prendre la tête avec les bouton tongue [/HS]


Ben
___________________
La seule question bête, c'est celle qu'on ne pose pas.

Hors ligne

#8 25-02-2018 17:04:18

Debian Alain
Membre
Lieu : Bretagne
Distrib. : sid (unstable) / bullseye (stable)
Noyau : Linux sid 6.4.0-3-amd64
(G)UI : Gnome X.org (X11) / GDM3
Inscription : 11-03-2017
Site Web

Re : [clos] utilisation de mastodon

suite de l'installation de mastodon :

Mise à jour de Mastodon
Il y a souvent des mises à jour de Mastodon, surtout en ce moment. Pour mettre à jour votre instance, c’est très simple.

Sauvegarder les fichiers et la base de données avant de mettre à jour.

Déjà, une petite mise à jour des paquets ne fait pas de mal :

apt update && apt full-upgrade
On arrête tout :

systemctl stop mastodon-web.service mastodon-sidekiq.service mastodon-streaming.service
On récupère les sources, et on met à jour Mastodon, les dépendances Ruby et npm, on régénère les assets et on met à jour la BDD.

Aussi, toutes ces commandes ne sont pas forcément nécessaires à chaque fois, mais les exécuter ne vous fera pas de mal ? .

Lisez absolument les notes de versions avant de mettre à jour.

su - mastodon
cd live
git fetch
git checkout vX.x.x
gem install bundler
bundle install
npm upgrade yarn
yarn install
RAILS_ENV=production bundle exec rails assets:clean
RAILS_ENV=production bundle exec rails assets:precompile
RAILS_ENV=production bundle exec rails db:migrate
exit
Si vous avez une erreur avec la version de Yarn, exécutez ceci en root :

npm i -g yarn
Et on redémarre tout :

systemctl start mastodon-web.service mastodon-sidekiq.service mastodon-streaming.service



je n'ai pas fait la m.a.j. de mastodon , tout semble ok de ce côté là .

mise en place du cron , effectuée .

souci arrivé à nginx :

wget -O - https://nginx.org/keys/nginx_signing.key | apt-key add -



echo "deb http://nginx.org/packages/debian/ $(lsb_release -sc) nginx" > /etc/apt/sources.list.d/nginx.list



apt update



tout ça ok .

mais là :

apt install nginx


Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances      
Lecture des informations d'état... Fait
nginx est déjà la version la plus récente (1.13.8-1).
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  libcroco3:i386 libdatrie1:i386 libgdk-pixbuf2.0-0:i386 libgraphite2-3:i386 libgsoap-2.8.49 libharfbuzz0b:i386 libpango-1.0-0:i386 libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386 librsvg2-2:i386 librsvg2-common:i386 libthai0:i386 libtwolame0:i386
  libuv1 libwavpack1:i386 libx264-152:i386
Veuillez utiliser « apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
2 partiellement installés ou enlevés.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] o
Paramétrage de nginx-full (1.13.8-1) ...
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2018-02-25 16:59:27 CET; 8ms ago
     Docs: man:nginx(8)
  Process: 25805 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
  Process: 25804 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)

févr. 25 16:59:26 Alain-PC-BUSTER nginx[25805]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
févr. 25 16:59:26 Alain-PC-BUSTER nginx[25805]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
févr. 25 16:59:26 Alain-PC-BUSTER nginx[25805]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
févr. 25 16:59:26 Alain-PC-BUSTER nginx[25805]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
févr. 25 16:59:27 Alain-PC-BUSTER nginx[25805]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
févr. 25 16:59:27 Alain-PC-BUSTER nginx[25805]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
févr. 25 16:59:27 Alain-PC-BUSTER nginx[25805]: nginx: [emerg] still could not bind()
févr. 25 16:59:27 Alain-PC-BUSTER systemd[1]: nginx.service: Control process exited, code=exited status=1
févr. 25 16:59:27 Alain-PC-BUSTER systemd[1]: nginx.service: Failed with result 'exit-code'.
févr. 25 16:59:27 Alain-PC-BUSTER systemd[1]: Failed to start A high performance web server and a reverse proxy server.
dpkg: erreur de traitement du paquet nginx-full (--configure) :
 installed nginx-full package post-installation script subprocess returned error exit status 1
dpkg: des problèmes de dépendances empêchent la configuration de nginx :
 nginx dépend de nginx-full (<< 1.13.8-1.1~) | nginx-light (<< 1.13.8-1.1~) | nginx-extras (<< 1.13.8-1.1~) ; cependant :
 Le paquet nginx-full n'est pas encore configuré.
  Le paquet nginx-light n'est pas installé.
  Le paquet nginx-extras n'est pas installé.
 nginx dépend de nginx-full (>= 1.13.8-1) | nginx-light (>= 1.13.8-1) | nginx-extras (>= 1.13.8-1) ; cependant :
 Le paquet nginx-full n'est pas encore configuré.
  Le paquet nginx-light n'est pas installé.
  Le paquet nginx-extras n'est pas installé.

dpkg: erreur de traitement du paquet nginx (--configure) :
 problèmes de dépendances - laissé non configuré
Des erreurs ont été rencontrées pendant l'exécution :
 nginx-full
 nginx
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)



# apt install --reinstall nginx


Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances      
Lecture des informations d'état... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  libcroco3:i386 libdatrie1:i386 libgdk-pixbuf2.0-0:i386 libgraphite2-3:i386 libgsoap-2.8.49 libharfbuzz0b:i386 libpango-1.0-0:i386 libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386 librsvg2-2:i386 librsvg2-common:i386 libthai0:i386 libtwolame0:i386
  libuv1 libwavpack1:i386 libx264-152:i386
Veuillez utiliser « apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 1 réinstallés, 0 à enlever et 0 non mis à jour.
2 partiellement installés ou enlevés.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
E: Internal Error, No file name for nginx:amd64



c'est normal ?

arrivé là :

# apt install --reinstall -t unstable letsencrypt


Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances      
Lecture des informations d'état... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  libcroco3:i386 libdatrie1:i386 libgdk-pixbuf2.0-0:i386 libgraphite2-3:i386 libgsoap-2.8.49 libharfbuzz0b:i386 libpango-1.0-0:i386 libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386 librsvg2-2:i386 librsvg2-common:i386 libthai0:i386 libtwolame0:i386
  libuv1 libwavpack1:i386 libx264-152:i386
Veuillez utiliser « apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 1 réinstallés, 0 à enlever et 258 non mis à jour.
2 partiellement installés ou enlevés.
Il est nécessaire de prendre 0 o/5 488 o dans les archives.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
(Lecture de la base de données... 470026 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../letsencrypt_0.21.1-1_all.deb ...
Dépaquetage de letsencrypt (0.21.1-1) sur (0.21.1-1) ...
Paramétrage de nginx-full (1.13.8-1) ...
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2018-02-25 17:16:44 CET; 7ms ago
     Docs: man:nginx(8)
  Process: 27208 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)

févr. 25 17:16:44 Alain-PC-BUSTER systemd[1]: Starting A high performance web server and a reverse proxy server...
févr. 25 17:16:44 Alain-PC-BUSTER nginx[27208]: nginx: [emerg] unexpected end of file, expecting "}" in /etc/nginx/conf.d/mastodon.conf:86
févr. 25 17:16:44 Alain-PC-BUSTER nginx[27208]: nginx: configuration file /etc/nginx/nginx.conf test failed
févr. 25 17:16:44 Alain-PC-BUSTER systemd[1]: nginx.service: Control process exited, code=exited status=1
févr. 25 17:16:44 Alain-PC-BUSTER systemd[1]: nginx.service: Failed with result 'exit-code'.
févr. 25 17:16:44 Alain-PC-BUSTER systemd[1]: Failed to start A high performance web server and a reverse proxy server.
dpkg: erreur de traitement du paquet nginx-full (--configure) :
 installed nginx-full package post-installation script subprocess returned error exit status 1
Paramétrage de letsencrypt (0.21.1-1) ...
dpkg: des problèmes de dépendances empêchent la configuration de nginx :
 nginx dépend de nginx-full (<< 1.13.8-1.1~) | nginx-light (<< 1.13.8-1.1~) | nginx-extras (<< 1.13.8-1.1~) ; cependant :
 Le paquet nginx-full n'est pas encore configuré.
  Le paquet nginx-light n'est pas installé.
  Le paquet nginx-extras n'est pas installé.
 nginx dépend de nginx-full (>= 1.13.8-1) | nginx-light (>= 1.13.8-1) | nginx-extras (>= 1.13.8-1) ; cependant :
 Le paquet nginx-full n'est pas encore configuré.
  Le paquet nginx-light n'est pas installé.
  Le paquet nginx-extras n'est pas installé.

dpkg: erreur de traitement du paquet nginx (--configure) :
 problèmes de dépendances - laissé non configuré
Des erreurs ont été rencontrées pendant l'exécution :
 nginx-full
 nginx
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)



d'où vient l'erreur ?

c'est rageant , je suis presque arrivé au bout !

curieusement :

# apt  update


Ign:2 http://nginx.org/packages/debian buster InRelease                        
Atteint:3 http://security.debian.org/debian-security testing/updates InRelease
Err:4 http://nginx.org/packages/debian buster Release                          
  404  Not Found [IP : 95.211.80.227 80]
Atteint:5 https://deb.nodesource.com/node_6.x buster InRelease                
Atteint:6 ftp://ftp.deb-multimedia.org testing InRelease                      
Atteint:1 http://cdn-fastly.deb.debian.org/debian jessie-backports InRelease
Atteint:7 http://ftp.fr.debian.org/debian testing InRelease    
Atteint:8 http://ftp.fr.debian.org/debian testing-updates InRelease        
Atteint:9 http://ftp.fr.debian.org/debian unstable InRelease                
Atteint:10 http://ftp.fr.debian.org/debian experimental InRelease            
Lecture des listes de paquets... Fait                                        
E: Le dépôt http://nginx.org/packages/debian buster Release n'a pas de fichier Release.
N: Les mises à jour depuis un tel dépôt ne peuvent s'effectuer de manière sécurisée, et sont donc désactivées par défaut
N: Voir les pages de manuel d'apt-secure(8) pour la création des dépôts et les détails de configuration d'un utilisateur.
 



et comme par hasard ,

# wget -O - https://nginx.org/keys/nginx_signing.key | apt-key add -


--2018-02-25 18:35:01--  https://nginx.org/keys/nginx_signing.key
Résolution de nginx.org (nginx.org)… 206.251.255.63, 95.211.80.227, 2606:7100:1:69::3f, ...
Connexion à nginx.org (nginx.org)|206.251.255.63|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 1561 (1,5K) [text/plain]
Sauvegarde en : « STDOUT »

-                   100%[===================>]   1,52K  --.-KB/s    ds 0s      

2018-02-25 18:35:02 (104 MB/s) — envoi vers sortie standard [1561/1561]

OK
 



n'y fait rien

toujours impossible d'installer nginx .

après vérif :

# apt policy nginx


nginx:
  Installé : 1.13.8-1
  Candidat : 1.13.8-1
 Table de version :
     1.13.9-1 100
        100 http://ftp.fr.debian.org/debian unstable/main amd64 Packages
        100 http://ftp.fr.debian.org/debian unstable/main i386 Packages
 *** 1.13.8-1 500
        500 http://ftp.fr.debian.org/debian testing/main amd64 Packages
        500 http://ftp.fr.debian.org/debian testing/main i386 Packages
        100 /var/lib/dpkg/status
     1.10.3-1+deb9u1~bpo8+2 100
        100 http://httpredir.debian.org/debian jessie-backports/main amd64 Packages
        100 http://httpredir.debian.org/debian jessie-backports/main i386 Packages
 



donc c'est pas la peine de l'installer vu qu'il l'est déjà ...

mais d'où vient l'erreur ?

pour letsencrypt , c'est pareil :

$ apt policy letsencrypt


letsencrypt:
  Installé : 0.21.1-1
  Candidat : 0.21.1-1
 Table de version :
 *** 0.21.1-1 500
        500 http://ftp.fr.debian.org/debian testing/main amd64 Packages
        500 http://ftp.fr.debian.org/debian testing/main i386 Packages
        100 http://ftp.fr.debian.org/debian unstable/main amd64 Packages
        100 http://ftp.fr.debian.org/debian unstable/main i386 Packages
        100 /var/lib/dpkg/status
     0.10.2-1~bpo8+1 100
        100 http://httpredir.debian.org/debian jessie-backports/main amd64 Packages
        100 http://httpredir.debian.org/debian jessie-backports/main i386 Packages
 



comprends plus rien , moi .

d'autant plus que :

# letsencrypt certonly -d www.domaine.tld -d domaine.tld --agree-tos -m contact@domaine.tld --rsa-key-size 4096 --standalone


Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Obtaining a new certificate
An unexpected error occurred:
The request message was malformed :: Error creating new authz :: Name does not end in a public suffix
Please see the logfiles in /var/log/letsencrypt for more details.
 



N’oubliez pas de faire pointer le/les sous domaine(s) correspondant(s) sur l’IPv4/v6 de votre serveur.


comment on fait  ?

là je sèche :

An unexpected error occurred:
The request message was malformed :: Error creating new authz :: Name does not end in a public suffix



voyons voir :

~$ sudo ls -h /var/log/letsencrypt/



[sudo] Mot de passe de alain : 
letsencrypt.log
 



~$ sudo cat /var/log/letsencrypt/letsencrypt.log


[sudo] Mot de passe de alain : 
2018-02-25 16:10:59,615:DEBUG:certbot.main:certbot version: 0.21.1
2018-02-25 16:10:59,616:DEBUG:certbot.main:Arguments: ['-d', 'www.domaine.tld', '-d', 'domaine.tld', '--agree-tos', '-m', 'contact@domaine.tld', '--rsa-key-size', '4096', '--standalone']
2018-02-25 16:10:59,617:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2018-02-25 16:10:59,625:DEBUG:certbot.log:Root logging level set at 20
2018-02-25 16:10:59,625:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2018-02-25 16:10:59,626:DEBUG:certbot.plugins.selection:Requested authenticator standalone and installer None
2018-02-25 16:10:59,661:DEBUG:certbot.plugins.selection:Single candidate plugin: * standalone
Description: Spin up a temporary webserver
Interfaces: IAuthenticator, IPlugin
Entry point: standalone = certbot.plugins.standalone:Authenticator
Initialized: <certbot.plugins.standalone.Authenticator object at 0x7fd46f91f320>
Prep: True
2018-02-25 16:10:59,662:DEBUG:certbot.plugins.selection:Selected authenticator <certbot.plugins.standalone.Authenticator object at 0x7fd46f91f320> and installer None
2018-02-25 16:10:59,662:INFO:certbot.plugins.selection:Plugins selected: Authenticator standalone, Installer None
2018-02-25 16:10:59,920:DEBUG:acme.client:Sending GET request to https://acme-v01.api.letsencrypt.org/directory.
2018-02-25 16:10:59,922:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
2018-02-25 16:11:00,477:DEBUG:urllib3.connectionpool:https://acme-v01.api.letsencrypt.org:443 "GET /directory HTTP/1.1" 200 562
2018-02-25 16:11:00,477:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Content-Type: application/json
Content-Length: 562
Replay-Nonce: ra9Sgc0HqJYQcFcsX043ioBRP8IlRfjQg5MFLwYEdU8
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
Expires: Sun, 25 Feb 2018 16:11:00 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Sun, 25 Feb 2018 16:11:00 GMT
Connection: keep-alive

b'{\n  "8T0H18_XNJc": "https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417",\n  "key-change": "https://acme-v01.api.letsencrypt.org/acme/key-change",\n  "meta": {\n    "terms-of-service": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf"\n  },\n  "new-authz": "https://acme-v01.api.letsencrypt.org/acme/new-authz",\n  "new-cert": "https://acme-v01.api.letsencrypt.org/acme/new-cert",\n  "new-reg": "https://acme-v01.api.letsencrypt.org/acme/new-reg",\n  "revoke-cert": "https://acme-v01.api.letsencrypt.org/acme/revoke-cert"\n}'
2018-02-25 16:11:00,478:DEBUG:acme.client:Requesting fresh nonce
2018-02-25 16:11:00,478:DEBUG:acme.client:Sending HEAD request to https://acme-v01.api.letsencrypt.org/acme/new-reg.
2018-02-25 16:11:00,720:DEBUG:urllib3.connectionpool:https://acme-v01.api.letsencrypt.org:443 "HEAD /acme/new-reg HTTP/1.1" 405 0
2018-02-25 16:11:00,720:DEBUG:acme.client:Received response:
HTTP 405
Server: nginx
Content-Type: application/problem+json
Content-Length: 91
Allow: POST
Replay-Nonce: P-oHreiCsma2qINjQNF0UyJNpk0xK6LpOFiI3Z8MKWo
Expires: Sun, 25 Feb 2018 16:11:00 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Sun, 25 Feb 2018 16:11:00 GMT
Connection: keep-alive

b''
2018-02-25 16:11:00,720:DEBUG:acme.client:Storing nonce: P-oHreiCsma2qINjQNF0UyJNpk0xK6LpOFiI3Z8MKWo
2018-02-25 16:11:00,721:DEBUG:acme.client:JWS payload:
b'{\n  "contact": [\n    "mailto:contact@domaine.tld"\n  ],\n  "resource": "new-reg"\n}'
2018-02-25 16:11:00,734:DEBUG:acme.client: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W9IcmVpQ3NtYTJxSU5qUU5GMFV5Sk5wazB4SzZMcE9GaUkzWjhNS1dvIn0",
  "signature": "HgUrkGc49hb5YDoqb-QuIs8jPFdD0YSjTEQS9BchFJxdwhogRoZ7vQ_2x3pQXJfJPwPgy532urzX34-YG7JZv7_OnYh-ZJX7PhXQ3bJ67UnKAsykNPx0W8MiIRb8VHaPKG1WCdKjsKKz9fYnjvdqrZrmx-5sfC76nTp_Q7EeceGOmK08hY46BsqOCXw3jiwy9SNh8zBCQUcY9VQYa1jCbHEDU0sLu8NtpoS4CcIpl1Twah-ylNPevGwhutY-DHHi2HW3siAGUxx0srvkiFvJRaprCMo8SmuBHYjMVXXk1o7QlS9FzEWTBFcBRAJkKFL--RWXXkxDjIPOi8mOSSfNGSg0Jk8pXJSS-vLRuICnX5Vzps991LgYu5j-qXqQkXs5hAAxc_882RYseqwoJ4VVBuNdq6oSVh_6eAOWDbWHvysM1pgp-dselMpATbEuiWLraR7B6LKwdDWSUi0bLRFV8Hb4Vs-iJQ0S3af0YZYV_4CFATek6L18smeg4tMfLgl5OWD8Zx3dxEOS_NfPnRIHBVOTkK94pprXPtmn5ZTQe6pmR5ybj9Bhjay4JrOtk8ckrLgKRhwZY2LTxNb0IBKyH1pfdnOrFf4z-0sjFjxxxONG7zrTGAPyO7xMvi5rviWwveuTXF2aAwuLrhR9wg_-M0WfaloOxFaChgTBUnr16WY",
  "payload": "ewogICJjb250YWN0IjogWwogICAgIm1haWx0bzpjb250YWN0QGRvbWFpbmUudGxkIgogIF0sCiAgInJlc291cmNlIjogIm5ldy1yZWciCn0"
}
2018-02-25 16:11:00,994:DEBUG:urllib3.connectionpool:https://acme-v01.api.letsencrypt.org:443 "POST /acme/new-reg HTTP/1.1" 400 162
2018-02-25 16:11:00,995:DEBUG:acme.client:Received response:
HTTP 400
Server: nginx
Content-Type: application/problem+json
Content-Length: 162
Replay-Nonce: ibyMgIaOyvOyXUniDFk9y5bl9en85S3iGpCzgtL2r6I
Expires: Sun, 25 Feb 2018 16:11:00 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Sun, 25 Feb 2018 16:11:00 GMT
Connection: close

b'{\n  "type": "urn:acme:error:invalidEmail",\n  "detail": "Error creating new registration :: DNS problem: NXDOMAIN looking up MX for domaine.tld",\n  "status": 400\n}'
2018-02-25 16:11:00,995:DEBUG:acme.client:Storing nonce: ibyMgIaOyvOyXUniDFk9y5bl9en85S3iGpCzgtL2r6I
2018-02-25 16:11:12,915:WARNING:certbot.util:Invalid email address: service nginx start.
2018-02-25 16:11:26,807:WARNING:certbot.util:Invalid email address: .
2018-02-25 16:11:55,137:DEBUG:acme.client:JWS payload:
b'{\n  "contact": [\n    "mailto:alain.bellec8@gmail.com"\n  ],\n  "resource": "new-reg"\n}'
2018-02-25 16:11:55,149:DEBUG:acme.client:Sending POST request to https://acme-v01.api.letsencrypt.org/acme/new-reg:
{
  "protected": "eyJhbGciOiAiUlMyNTYiLCAiandrIjogeyJuIjogIndaanYwczhlLURXMW1IYVdjOGx0Z3dFZDNxM25IclF1R3pZU01fRUZQNk5ld0FaSFo4dTFXbTlpWGNkMEgtZ1RvVFNWbHJQMXktQ0tsVVlUUGFoNmlTRGMyZ0VabXpEbndQUW42c1J2c2lHNDdzQ2FMWkIzc1ItaHAyX3ZXVmhJZGNEamQxcWdVY1Vzd21MWG5veDEyOUVDZWROS3E3ZzNFWTloLUZ2VzM0dUNRT2RRVEdCUHc3cHVDYVZDV1ZTc1FBdHRYaTVwR3lVMkJlcGhZRmxLeTdEOVVqM0xiOWsyeVNmUFBoMlBiYm01WG5XTEpoU2RFc0FjVWZYRDF1RG94bDZrMHFRNFlUOWdTOVNkN09fRkRjWHl6RUp6MFpIV2VjVHdYc0Q2SEE4MEVmZTVYUFVUcHBXMkV2ZHpSZ2x2a2lvNy1POHdYSmd1SVE5QVAxdEM0OHBPYUxYRWVKZlhlMGhxS3RBT0hRb3Z6ekV5MHdJTGotQ01laEsteGlVczVRWWdDZ04tW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8bpaOHbauq4i29ibrYfnNUzdZltVGhP-BlGTeLyIcO-ViDr4A8LgiUQ-3p_wwwZ8_-LRn70lngloU_Bbc-56XYuaZOdxoNslybUyq-r-G5WAb-qHXe7LMu_pYVtYfjyb24",
  "payload": "ewogICJjb250YWN0IjogWwogICAgIm1haWx0bzphbGFpbi5iZWxsZWM4QGdtYWlsLmNvbSIKICBdLAogICJyZXNvdXJjZSI6ICJuZXctcmVnIgp9"
}
2018-02-25 16:11:55,150:DEBUG:urllib3.connectionpool:Resetting dropped connection: acme-v01.api.letsencrypt.org
2018-02-25 16:11:55,706:DEBUG:urllib3.connectionpool:https://acme-v01.api.letsencrypt.org:443 "POST /acme/new-reg HTTP/1.1" 201 925
2018-02-25 16:11:55,707:DEBUG:acme.client:Received response:
HTTP 201
Server: nginx
Content-Type: application/json
Content-Length: 925
Boulder-Requester: 30102071
Link: <https://acme-v01.api.letsencrypt.org/acme/new-authz>;rel="next", <https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf>;rel="terms-of-service"
Location: https://acme-v01.api.letsencrypt.org/acme/reg/30102071
Replay-Nonce: byLISoTa7E-vFlp7mGbvgWGSONHYgM6G0FgmV_xTnFs
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
Expires: Sun, 25 Feb 2018 16:11:55 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Sun, 25 Feb 2018 16:11:55 GMT
Connection: keep-alive

b'{\n  "id": 30102071,\n  "key": {\n    "kty": "RSA",\n    "n": "wZjv0s8e-DW1mHaWc8ltgwEd3q3nHrQuGzYSM_EFP6NewAZHZ8u1Wm9iXcd0H-gToTSVlrP1y-CKlUYTPah6iSDc2gEZmzDnwPQn6sRvsiG47sCaLZB3sR-hp2_vWVhIdcDjd1qgUcUswmLXnox129ECedNKq7g3EY9h-FvW34uCQOdQTGBPw7puCaVCWVSsQAttXi5pGyU2BephYFlKy7D9Uj3Lb9k2ySfPPh2Pbbm5XnWLJhSdEsAcUfXD1uDoxl6k0qQ4YT9gS9Sd7O_FDcXyzEJz0ZHWecTwXsD6HA80Efe5XPUTppW2EvdzRglvkio7-O8wXJguIQ9AP1tC48pOaLXEeJfXe0hqKtAOHQovzzEy0wILj-CMehK-xiUs5QYgCgN-ZWg9metG4dIGGbVy1rYSCQ1-sOG8EWDNrmv5rpDjkrvvjCGcbPlIO4gUyArwcoXcClN6MHM_4Z2bycl3zeM-TTdXvs60G_0LvT3unlGgRAp-VWDZ3tPdL4BLie8HHuK3kgr2X0ek_YeGrmSwWFaQPgdgT9dEzNKUhBL1DAkP4MdoGJp6MmUtvjC0_9G0tkzIlkFHQMbqPkvQ5h4HEYByTdN1M52aKrISJW_ceXsxNJrB89LawEXXyh5ic3WAzCGLM8lBxd7VbI3WeNfD98ZcXuccHILSsSfIgwc",\n    "e": "AQAB"\n  },\n  "contact": [\n    "mailto:alain.bellec8@gmail.com"\n  ],\n  "initialIp": "176.166.10.92",\n  "createdAt": "2018-02-25T16:11:55.584390757Z",\n  "status": "valid"\n}'
2018-02-25 16:11:55,707:DEBUG:acme.client:Storing nonce: byLISoTa7E-vFlp7mGbvgWGSONHYgM6G0FgmV_xTnFs
2018-02-25 16:11:55,708:DEBUG:acme.client:JWS payload:
b'{\n  "key": {\n    "n": "wZjv0s8e-DW1mHaWc8ltgwEd3q3nHrQuGzYSM_EFP6NewAZHZ8u1Wm9iXcd0H-gToTSVlrP1y-CKlUYTPah6iSDc2gEZmzDnwPQn6sRvsiG47sCaLZB3sR-hp2_vWVhIdcDjd1qgUcUswmLXnox129ECedNKq7g3EY9h-FvW34uCQOdQTGBPw7puCaVCWVSsQAttXi5pGyU2BephYFlKy7D9Uj3Lb9k2ySfPPh2Pbbm5XnWLJhSdEsAcUfXD1uDoxl6k0qQ4YT9gS9Sd7O_FDcXyzEJz0ZHWecTwXsD6HA80Efe5XPUTppW2EvdzRglvkio7-O8wXJguIQ9AP1tC48pOaLXEeJfXe0hqKtAOHQovzzEy0wILj-CMehK-xiUs5QYgCgN-ZWg9metG4dIGGbVy1rYSCQ1-sOG8EWDNrmv5rpDjkrvvjCGcbPlIO4gUyArwcoXcClN6MHM_4Z2bycl3zeM-TTdXvs60G_0LvT3unlGgRAp-VWDZ3tPdL4BLie8HHuK3kgr2X0ek_YeGrmSwWFaQPgdgT9dEzNKUhBL1DAkP4MdoGJp6MmUtvjC0_9G0tkzIlkFHQMbqPkvQ5h4HEYByTdN1M52aKrISJW_ceXsxNJrB89LawEXXyh5ic3WAzCGLM8lBxd7VbI3WeNfD98ZcXuccHILSsSfIgwc",\n    "e": "AQAB",\n    "kty": "RSA"\n  },\n  "contact": [\n    "mailto:alain.bellec8@gmail.com"\n  ],\n  "agreement": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf",\n  "status": "valid",\n  "resource": "reg"\n}'
2018-02-25 16:11:55,719:DEBUG:acme.client:Sending POST request to https://acme-v01.api.letsencrypt.org/acme/reg/30102071:
{
  "protected": "eyJhbGciOiAiUlMyNTYiLCAiandrIjogeyJuIjogIndaanYwczhlLURXMW1IYVdjOGx0Z3dFZDNxM25IclF1R3pZU01fRUZQNk5ld0FaSFo4dTFXbTlpWGNkMEgtZ1RvVFNWbHJQMXktQ0tsVVlUUGFoNmlTRGMyZ0VabXpEbndQUW42c1J2c2lHNDdzQ2FMWkIzc1ItaHAyX3ZXVmhJZGNEamQxcWdVY1Vzd21MWG5veDEyOUVDZWROS3E3ZzNFWTloLUZ2VzM0dUNRT2RRVEdCUHc3cHVDYVZDV1ZTc1FBdHRYaTVwR3lVMkJlcGhZRmxLeTdEOVVqM0xiOWsyeVNmUFBoMlBiYm01WG5XTEpoU2RFc0FjVWZYRDF1RG94bDZrMHFRNFlUOWdTOVNkN09fRkRjWHl6RUp6MFpIV2VjVHdYc0Q2SEE4MEVmZTVYUFVUcHBXMkV2ZHpSZ2x2a2lvNy1POHdYSmd1SVE5QVAxdEM0OHBPYUxYRWVKZlhlMGhxS3RBT0hRb3Z6ekV5MHdJTG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CeGQ3VmJJM1dlTmZEOThaY1h1Y2NISUxTc1NmSWd3YyIsCiAgICAiZSI6ICJBUUFCIiwKICAgICJrdHkiOiAiUlNBIgogIH0sCiAgImNvbnRhY3QiOiBbCiAgICAibWFpbHRvOmFsYWluLmJlbGxlYzhAZ21haWwuY29tIgogIF0sCiAgImFncmVlbWVudCI6ICJodHRwczovL2xldHNlbmNyeXB0Lm9yZy9kb2N1bWVudHMvTEUtU0EtdjEuMi1Ob3ZlbWJlci0xNS0yMDE3LnBkZiIsCiAgInN0YXR1cyI6ICJ2YWxpZCIsCiAgInJlc291cmNlIjogInJlZyIKfQ"
}
2018-02-25 16:11:55,928:DEBUG:urllib3.connectionpool:https://acme-v01.api.letsencrypt.org:443 "POST /acme/reg/30102071 HTTP/1.1" 202 999
2018-02-25 16:11:55,928:DEBUG:acme.client:Received response:
HTTP 202
Server: nginx
Content-Type: application/json
Content-Length: 999
Boulder-Requester: 30102071
Link: <https://acme-v01.api.letsencrypt.org/acme/new-authz>;rel="next", <https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf>;rel="terms-of-service"
Replay-Nonce: n-lANQrwtLhVtWx_lr7DVMzNsGpyM9gP4jOvcxgCZvI
Expires: Sun, 25 Feb 2018 16:11:55 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Sun, 25 Feb 2018 16:11:55 GMT
Connection: keep-alive

b'{\n  "id": 30102071,\n  "key": {\n    "kty": "RSA",\n    "n": "wZjv0s8e-DW1mHaWc8ltgwEd3q3nHrQuGzYSM_EFP6NewAZHZ8u1Wm9iXcd0H-gToTSVlrP1y-CKlUYTPah6iSDc2gEZmzDnwPQn6sRvsiG47sCaLZB3sR-hp2_vWVhIdcDjd1qgUcUswmLXnox129ECedNKq7g3EY9h-FvW34uCQOdQTGBPw7puCaVCWVSsQAttXi5pGyU2BephYFlKy7D9Uj3Lb9k2ySfPPh2Pbbm5XnWLJhSdEsAcUfXD1uDoxl6k0qQ4YT9gS9Sd7O_FDcXyzEJz0ZHWecTwXsD6HA80Efe5XPUTppW2EvdzRglvkio7-O8wXJguIQ9AP1tC48pOaLXEeJfXe0hqKtAOHQovzzEy0wILj-CMehK-xiUs5QYgCgN-ZWg9metG4dIGGbVy1rYSCQ1-sOG8EWDNrmv5rpDjkrvvjCGcbPlIO4gUyArwcoXcClN6MHM_4Z2bycl3zeM-TTdXvs60G_0LvT3unlGgRAp-VWDZ3tPdL4BLie8HHuK3kgr2X0ek_YeGrmSwWFaQPgdgT9dEzNKUhBL1DAkP4MdoGJp6MmUtvjC0_9G0tkzIlkFHQMbqPkvQ5h4HEYByTdN1M52aKrISJW_ceXsxNJrB89LawEXXyh5ic3WAzCGLM8lBxd7VbI3WeNfD98ZcXuccHILSsSfIgwc",\n    "e": "AQAB"\n  },\n  "contact": [\n    "mailto:alain.bellec8@gmail.com"\n  ],\n  "agreement": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf",\n  "initialIp": "176.166.10.92",\n  "createdAt": "2018-02-25T16:11:55Z",\n  "status": "valid"\n}'
2018-02-25 16:11:55,929:DEBUG:acme.client:Storing nonce: n-lANQrwtLhVtWx_lr7DVMzNsGpyM9gP4jOvcxgCZvI
2018-02-25 16:11:55,932:DEBUG:certbot.reporter:Reporting to user: Your account credentials have been saved in your Certbot configuration directory at /etc/letsencrypt. You should make a secure backup of this folder now. This configuration directory will also contain certificates and private keys obtained by Certbot so making regular backups of this folder is ideal.
2018-02-25 16:12:06,979:DEBUG:certbot.eff:Sending POST request to https://supporters.eff.org/subscribe/certbot:
{'data_type': 'json', 'email': 'alain.bellec8@gmail.com', 'form_id': 'eff_supporters_library_subscribe_form'}
2018-02-25 16:12:06,981:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): supporters.eff.org
2018-02-25 16:12:10,357:DEBUG:urllib3.connectionpool:https://supporters.eff.org:443 "POST /subscribe/certbot HTTP/1.1" 200 90
2018-02-25 16:12:10,359:DEBUG:certbot.eff:Received response:
b'{"status":true,"message":"Please check your email for a confirmation link."}'
2018-02-25 16:12:10,359:DEBUG:certbot.main:Picked account: <Account(RegistrationResource(body=Registration(key=JWKRSA(key=<ComparableRSAKey(<cryptography.hazmat.backends.openssl.rsa._RSAPublicKey object at 0x7fd46f8aa710>)>), contact=('mailto:alain.bellec8@gmail.com',), agreement='https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf', status='valid'), uri='https://acme-v01.api.letsencrypt.org/acme/reg/30102071', new_authzr_uri=None, terms_of_service='https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf'), 90d53b118611db3547f00cbf4b580600, Meta(creation_dt=datetime.datetime(2018, 2, 25, 16, 11, 55, tzinfo=<UTC>), creation_host='Alain-PC-BUSTER.lan'))>
2018-02-25 16:12:10,361:INFO:certbot.main:Obtaining a new certificate
2018-02-25 16:12:10,361:DEBUG:acme.client:JWS payload:
b'{\n  "identifier": {\n    "type": "dns",\n    "value": "www.domaine.tld"\n  },\n  "resource": "new-authz"\n}'
2018-02-25 16:12:10,373:DEBUG:acme.client:Sending POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz:
{
  "protected": "eyJhbGciOiAiUlMyNTYiLCAiandrIjogeyJuIjogIndaanYwczhlLURXMW1IYVdjOGx0Z3dFZDNxM25IclF1R3pZU01fRUZQNk5ld0FaSFo4dTFXbTlpWGNkMEgtZ1RvVFNWbHJQMXktQ0tsVVlUUGFoNmlTRGMyZ0VabXpEbndQUW42c1J2c2lHNDdzQ2FMWkIzc1ItaHAyX3ZXVmhJZGNEamQxcWdVY1Vzd21MWG5veDEyOUVDZWROS3E3ZzNFWTloLUZ2VzM0dUNRT2RRVEdCUHc3cHVDYVZDV1ZTc1FBdHRYaTVwR3lVMkJlcGhZRmxLeTdEOVVqM0xiOWsyeVNmUFBoMlBiYm01WG5XTEpoU2RFc0FjVWZYRDF1RG94bDZrMHFRNFlUOWdTOVNkN09fRkRjWHl6RUp6MFpIV2VjVHdYc0Q2SEE4MEVmZTV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4ftNicD591Sf8y7qZLo4cWh4YjEGGJ2LXksr6k4ErX_eqTHSVdfuV347GwP9TKYpjs0naN-gnaD81aR7LacLI0pP-AYp0Crgew6jMG_d5TT_A13xdAPmFBW3iqOI5DDCUWjV0-gCkB9f0hr-wxfUtjXkEvTx2UTzUMRdT4E2HDQiInDU2vihyo9d7A2sqnpX2UiRdgK5ZsHu3pKgQ7R9a37xkUst1cw5EKGxogv0ypGlIVG79PSki2d6Qk",
  "payload": "ewogICJpZGVudGlmaWVyIjogewogICAgInR5cGUiOiAiZG5zIiwKICAgICJ2YWx1ZSI6ICJ3d3cuZG9tYWluZS50bGQiCiAgfSwKICAicmVzb3VyY2UiOiAibmV3LWF1dGh6Igp9"
}
2018-02-25 16:12:10,780:DEBUG:urllib3.connectionpool:https://acme-v01.api.letsencrypt.org:443 "POST /acme/new-authz HTTP/1.1" 400 137
2018-02-25 16:12:10,781:DEBUG:acme.client:Received response:
HTTP 400
Server: nginx
Content-Type: application/problem+json
Content-Length: 137
Boulder-Requester: 30102071
Replay-Nonce: xgA0jsqfr0pzIDS5Z4jDQWnxFK2MD1DNGxXPxdFLvbI
Expires: Sun, 25 Feb 2018 16:12:10 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Sun, 25 Feb 2018 16:12:10 GMT
Connection: close

b'{\n  "type": "urn:acme:error:malformed",\n  "detail": "Error creating new authz :: Name does not end in a public suffix",\n  "status": 400\n}'
2018-02-25 16:12:10,781:DEBUG:acme.client:Storing nonce: xgA0jsqfr0pzIDS5Z4jDQWnxFK2MD1DNGxXPxdFLvbI
2018-02-25 16:12:10,782:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
  File "/usr/bin/letsencrypt", line 11, in <module>
    load_entry_point('certbot==0.21.1', 'console_scripts', 'certbot')()
  File "/usr/lib/python3/dist-packages/certbot/main.py", line 1240, in main
    return config.func(config, plugins)
  File "/usr/lib/python3/dist-packages/certbot/main.py", line 1120, in certonly
    lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
  File "/usr/lib/python3/dist-packages/certbot/main.py", line 118, in _get_and_save_cert
    lineage = le_client.obtain_and_enroll_certificate(domains, certname)
  File "/usr/lib/python3/dist-packages/certbot/client.py", line 357, in obtain_and_enroll_certificate
    certr, chain, key, _ = self.obtain_certificate(domains)
  File "/usr/lib/python3/dist-packages/certbot/client.py", line 318, in obtain_certificate
    self.config.allow_subset_of_names)
  File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 66, in get_authorizations
    self.authzr[domain] = self.acme.request_domain_challenges(domain)
  File "/usr/lib/python3/dist-packages/acme/client.py", line 213, in request_domain_challenges
    typ=messages.IDENTIFIER_FQDN, value=domain), new_authzr_uri)
  File "/usr/lib/python3/dist-packages/acme/client.py", line 192, in request_challenges
    response = self.net.post(self.directory.new_authz, new_authz)
  File "/usr/lib/python3/dist-packages/acme/client.py", line 709, in post
    return self._post_once(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/acme/client.py", line 722, in _post_once
    return self._check_response(response, content_type=content_type)
  File "/usr/lib/python3/dist-packages/acme/client.py", line 583, in _check_response
    raise messages.Error.from_json(jobj)
acme.messages.Error: urn:acme:error:malformed :: The request message was malformed :: Error creating new authz :: Name does not end in a public suffix
2018-02-25 16:12:10,784:ERROR:certbot.log:An unexpected error occurred:
2018-02-25 16:12:10,784:ERROR:certbot.log:The request message was malformed :: Error creating new authz :: Name does not end in a public suffix
2018-02-25 16:12:42,558:DEBUG:certbot.main:certbot version: 0.21.1
2018-02-25 16:12:42,559:DEBUG:certbot.main:Arguments: ['-d', 'www.domaine.tld', '-d', 'domaine.tld', '--agree-tos', '-m', 'contact@domaine.tld', '--rsa-key-size', '4096', '--standalone']
2018-02-25 16:12:42,560:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2018-02-25 16:12:42,567:DEBUG:certbot.log:Root logging level set at 20
2018-02-25 16:12:42,567:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2018-02-25 16:12:42,568:DEBUG:certbot.plugins.selection:Requested authenticator standalone and installer None
2018-02-25 16:12:42,663:DEBUG:certbot.plugins.selection:Single candidate plugin: * standalone
Description: Spin up a temporary webserver
Interfaces: IAuthenticator, IPlugin
Entry point: standalone = certbot.plugins.standalone:Authenticator
Initialized: <certbot.plugins.standalone.Authenticator object at 0x7f8ff18c0390>
Prep: True
2018-02-25 16:12:42,664:DEBUG:certbot.plugins.selection:Selected authenticator <certbot.plugins.standalone.Authenticator object at 0x7f8ff18c0390> and installer None
2018-02-25 16:12:42,664:INFO:certbot.plugins.selection:Plugins selected: Authenticator standalone, Installer None
2018-02-25 16:12:42,669:DEBUG:certbot.main:Picked account: <Account(RegistrationResource(body=Registration(key=JWKRSA(key=<ComparableRSAKey(<cryptography.hazmat.backends.openssl.rsa._RSAPublicKey object at 0x7f8ff18435c0>)>), contact=('mailto:alain.bellec8@gmail.com',), agreement='https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf', status='valid'), uri='https://acme-v01.api.letsencrypt.org/acme/reg/30102071', new_authzr_uri='https://acme-v01.api.letsencrypt.org/acme/new-authz', terms_of_service='https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf'), 90d53b118611db3547f00cbf4b580600, Meta(creation_dt=datetime.datetime(2018, 2, 25, 16, 11, 55, tzinfo=<UTC>), creation_host='Alain-PC-BUSTER.lan'))>
2018-02-25 16:12:42,670:DEBUG:acme.client:Sending GET request to https://acme-v01.api.letsencrypt.org/directory.
2018-02-25 16:12:42,672:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
2018-02-25 16:12:43,210:DEBUG:urllib3.connectionpool:https://acme-v01.api.letsencrypt.org:443 "GET /directory HTTP/1.1" 200 562
2018-02-25 16:12:43,211:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Content-Type: application/json
Content-Length: 562
Replay-Nonce: x48ymfer7tR77VbqsuKdYHO3g9DKbhBjfqLzH-9bNAU
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
Expires: Sun, 25 Feb 2018 16:12:43 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Sun, 25 Feb 2018 16:12:43 GMT
Connection: keep-alive

b'{\n  "2_Lg5KDLCgI": "https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417",\n  "key-change": "https://acme-v01.api.letsencrypt.org/acme/key-change",\n  "meta": {\n    "terms-of-service": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf"\n  },\n  "new-authz": "https://acme-v01.api.letsencrypt.org/acme/new-authz",\n  "new-cert": "https://acme-v01.api.letsencrypt.org/acme/new-cert",\n  "new-reg": "https://acme-v01.api.letsencrypt.org/acme/new-reg",\n  "revoke-cert": "https://acme-v01.api.letsencrypt.org/acme/revoke-cert"\n}'
2018-02-25 16:12:43,212:INFO:certbot.main:Obtaining a new certificate
2018-02-25 16:12:43,212:DEBUG:acme.client:Requesting fresh nonce
2018-02-25 16:12:43,212:DEBUG:acme.client:Sending HEAD request to https://acme-v01.api.letsencrypt.org/acme/new-authz.
2018-02-25 16:12:43,486:DEBUG:urllib3.connectionpool:https://acme-v01.api.letsencrypt.org:443 "HEAD /acme/new-authz HTTP/1.1" 405 0
2018-02-25 16:12:43,487:DEBUG:acme.client:Received response:
HTTP 405
Server: nginx
Content-Type: application/problem+json
Content-Length: 91
Allow: POST
Replay-Nonce: R3hLMA_fCLNK9yuhWm6tM-_dHaLbKOqLU_3WCzPShwA
Expires: Sun, 25 Feb 2018 16:12:43 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Sun, 25 Feb 2018 16:12:43 GMT
Connection: keep-alive

b''
2018-02-25 16:12:43,487:DEBUG:acme.client:Storing nonce: R3hLMA_fCLNK9yuhWm6tM-_dHaLbKOqLU_3WCzPShwA
2018-02-25 16:12:43,487:DEBUG:acme.client:JWS payload:
b'{\n  "identifier": {\n    "type": "dns",\n    "value": "www.domaine.tld"\n  },\n  "resource": "new-authz"\n}'
2018-02-25 16:12:43,502:DEBUG:acme.client:Sending POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz:
{
  "protected": "eyJhbGciOiAiUlMyNTYiLCAiandrIjogeyJuIjogIndaanYwczhlLURXMW1IYVdjOGx0Z3dFZDNxM25IclF1R3pZU01fRUZQNk5ld0FaSFo4dTFXbTlpWGNkMEgtZ1RvVFNWbHJQMXktQ0tsVVlUUGFoNmlTRGMyZ0VabXpEbndQUW42c1J2c2lHNDdzQ2FMWkIzc1ItaHAyX3ZXVmhJZGNEamQxcWdVY1Vzd21MWG5veDEyOUVDZWROS3E3ZzNFWTloLUZ2VzM0dUNRT2RRVEdCUHc3cHVDYVZDV1ZTc1FBdHRYaTVwR3lVMkJlcGhZRmxLeTdEOVVqM0xiOWsyeVNmUFBoMlBiYm01WG5XTEpoU2RFc0FjVWZYRDF1RG94bDZrMHFRNFlUOWdTOVNkN09fRkRjWHl6RUp6MFpIV2VjVHdYc0Q2SEE4MEVmZTVYUFVUcHBXMkV2ZHpSZ2x2a2lvNy1POHdYSmd1SVE5QVAxdEM0OHBPYUxYRWVKZlhlMGhxS3RBT0hRb3Z6ekV5MHdJTGotQ01laEsteGlVczVRWWdDZ04tWldnOW1ldEc0ZElHR2JWeTFyWVNDUTEtc09HOEVXRE5ybXY1cnBEamtydnZqQ0djYlBsSU80Z1V5QXJ3Y29YY0NsTjZNSE1fNFoyYnljbDN6ZU0tVFRkWHZzNjBHXzBMdlQzdW5sR2dSQXAtVldEWjN0UGRMNEJMaWU4SEh1SzNrZ3IyWDBla19ZZUdybVN3V0ZhUVBnZGdUOWRFek5LVWhCTDFEQWtQNE1kb0dKcDZNbVV0dmpDMF85RzB0a3pJbGtGSFFNYnFQa3ZRNWg0SEVZQnlUZE4xTTUyYUtySVNKV19jZVhzeE5KckI4OUxhd0VYWHloNWljM1dBekNHTE04bEJ4ZDdWYkkzV2VOZkQ5OFpjWHVjY0hJTFNzU2ZJZ3djIiwgImUiOiAiQVFBQiIsICJrdHkiOiAiUlNBIn0sICJub25jZSI6ICJSM2hMTUFfZkNMTks5eXVoV202dE0tX2RIYUxiS09xTFVfM1dDelBTaHdBIn0",
  "signature": "oRMsPyc39l2jgEqqKxNXgvztAdmJhB-3Ri97dPifGqJU58lkNhG8Va0yfHrNY6MB8C3I4bt_1UT6AwUCxMo9PiZ8xgiREadPkp0MDs2DjvR6jmYNfpD8IZFeLjdaaa8IMVvYKPk7wzgNwix0fhHU7mJDid6KhbqCcS3Pvi5lt0Ta3-hP9uSzU71FILvohrI89C2cNg-craSBuM_qIqN2tXQ_dB4vTQRXCFqwjIq_qOW-QC_ls9heBUnVqng7Byv2BhLQzEJEQdaeXz6tR0DPBzeq0TvAKQtL9wMl1CJQyQh_g4QxWFSRIcLjqsVKUgzv4qthWjfLsPc8xjthzHKY8oLcTvKu0b4imYJ-NBQyiVFRSZkkdCqyf_IuKdyheIB1YhANQvkK9CG6_PKiLYeQMWoQjYQbMNJJxGbShCb-gyUfDyXyr27MyQRFmz_3nFXP-i1fOo9dvxOnX_SwO39Wmkrzq3bMJgp93Mqm__JIQ46bsZ0aov8peAIOcVgBvXr-wqj2DsGn8k0BBlyJpktkmwo2HJC2e88DqRT24EFO3T66s22l9QiswW1cg0-zds8ZsRFaIcseIInY1giRjjw-Q_TLwyTwZZp4NDIiKuSrUK0iGFjiX3HCLHHPZBjdqjWV1Ve-2MRLOYj9otX5DGCoSakFD6aUMCuExHGLurNU1vw",
  "payload": "ewogICJpZGVudGlmaWVyIjogewogICAgInR5cGUiOiAiZG5zIiwKICAgICJ2YWx1ZSI6ICJ3d3cuZG9tYWluZS50bGQiCiAgfSwKICAicmVzb3VyY2UiOiAibmV3LWF1dGh6Igp9"
}
2018-02-25 16:12:43,767:DEBUG:urllib3.connectionpool:https://acme-v01.api.letsencrypt.org:443 "POST /acme/new-authz HTTP/1.1" 400 137
2018-02-25 16:12:43,767:DEBUG:acme.client:Received response:
HTTP 400
Server: nginx
Content-Type: application/problem+json
Content-Length: 137
Boulder-Requester: 30102071
Replay-Nonce: jQFi8mknnyjvY5xvhD7dKRNvDwxd1Ld_Ef789QCKc-M
Expires: Sun, 25 Feb 2018 16:12:43 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Sun, 25 Feb 2018 16:12:43 GMT
Connection: close

b'{\n  "type": "urn:acme:error:malformed",\n  "detail": "Error creating new authz :: Name does not end in a public suffix",\n  "status": 400\n}'
2018-02-25 16:12:43,768:DEBUG:acme.client:Storing nonce: jQFi8mknnyjvY5xvhD7dKRNvDwxd1Ld_Ef789QCKc-M
2018-02-25 16:12:43,768:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
  File "/usr/bin/letsencrypt", line 11, in <module>
    load_entry_point('certbot==0.21.1', 'console_scripts', 'certbot')()
  File "/usr/lib/python3/dist-packages/certbot/main.py", line 1240, in main
    return config.func(config, plugins)
  File "/usr/lib/python3/dist-packages/certbot/main.py", line 1120, in certonly
    lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
  File "/usr/lib/python3/dist-packages/certbot/main.py", line 118, in _get_and_save_cert
    lineage = le_client.obtain_and_enroll_certificate(domains, certname)
  File "/usr/lib/python3/dist-packages/certbot/client.py", line 357, in obtain_and_enroll_certificate
    certr, chain, key, _ = self.obtain_certificate(domains)
  File "/usr/lib/python3/dist-packages/certbot/client.py", line 318, in obtain_certificate
    self.config.allow_subset_of_names)
  File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 66, in get_authorizations
    self.authzr[domain] = self.acme.request_domain_challenges(domain)
  File "/usr/lib/python3/dist-packages/acme/client.py", line 213, in request_domain_challenges
    typ=messages.IDENTIFIER_FQDN, value=domain), new_authzr_uri)
  File "/usr/lib/python3/dist-packages/acme/client.py", line 192, in request_challenges
    response = self.net.post(self.directory.new_authz, new_authz)
  File "/usr/lib/python3/dist-packages/acme/client.py", line 709, in post
    return self._post_once(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/acme/client.py", line 722, in _post_once
    return self._check_response(response, content_type=content_type)
  File "/usr/lib/python3/dist-packages/acme/client.py", line 583, in _check_response
    raise messages.Error.from_json(jobj)
acme.messages.Error: urn:acme:error:malformed :: The request message was malformed :: Error creating new authz :: Name does not end in a public suffix
2018-02-25 16:12:43,769:ERROR:certbot.log:An unexpected error occurred:
2018-02-25 16:12:43,769:ERROR:certbot.log:The request message was malformed :: Error creating new authz :: Name does not end in a public suffix
2018-02-25 16:13:29,988:DEBUG:certbot.main:certbot version: 0.21.1
2018-02-25 16:13:29,989:DEBUG:certbot.main:Arguments: ['-d', 'www.domaine.tld', '-d', 'domaine.tld', '--agree-tos', '-m', 'contact@domaine.tld', '--rsa-key-size', '4096', '--standalone']
2018-02-25 16:13:29,989:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2018-02-25 16:13:29,996:DEBUG:certbot.log:Root logging level set at 20
2018-02-25 16:13:29,997:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2018-02-25 16:13:29,997:DEBUG:certbot.plugins.selection:Requested authenticator standalone and installer None
2018-02-25 16:13:30,126:DEBUG:certbot.plugins.selection:Single candidate plugin: * standalone
Description: Spin up a temporary webserver
Interfaces: IAuthenticator, IPlugin
Entry point: standalone = certbot.plugins.standalone:Authenticator
Initialized: <certbot.plugins.standalone.Authenticator object at 0x7f7741a63390>
Prep: True
2018-02-25 16:13:30,127:DEBUG:certbot.plugins.selection:Selected authenticator <certbot.plugins.standalone.Authenticator object at 0x7f7741a63390> and installer None
2018-02-25 16:13:30,127:INFO:certbot.plugins.selection:Plugins selected: Authenticator standalone, Installer None
2018-02-25 16:13:30,132:DEBUG:certbot.main:Picked account: <Account(RegistrationResource(body=Registration(key=JWKRSA(key=<ComparableRSAKey(<cryptography.hazmat.backends.openssl.rsa._RSAPublicKey object at 0x7f77419e65c0>)>), contact=('mailto:alain.bellec8@gmail.com',), agreement='https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf', status='valid'), uri='https://acme-v01.api.letsencrypt.org/acme/reg/30102071', new_authzr_uri='https://acme-v01.api.letsencrypt.org/acme/new-authz', terms_of_service='https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf'), 90d53b118611db3547f00cbf4b580600, Meta(creation_dt=datetime.datetime(2018, 2, 25, 16, 11, 55, tzinfo=<UTC>), creation_host='Alain-PC-BUSTER.lan'))>
2018-02-25 16:13:30,133:DEBUG:acme.client:Sending GET request to https://acme-v01.api.letsencrypt.org/directory.
2018-02-25 16:13:30,135:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
2018-02-25 16:13:30,700:DEBUG:urllib3.connectionpool:https://acme-v01.api.letsencrypt.org:443 "GET /directory HTTP/1.1" 200 562
2018-02-25 16:13:30,701:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Content-Type: application/json
Content-Length: 562
Replay-Nonce: rMQz9UWyCu7QsXSxAyzyzT0TLHkqk2nzKQ0ojEd-Wro
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
Expires: Sun, 25 Feb 2018 16:13:30 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Sun, 25 Feb 2018 16:13:30 GMT
Connection: keep-alive

b'{\n  "T49pnbsrE0g": "https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417",\n  "key-change": "https://acme-v01.api.letsencrypt.org/acme/key-change",\n  "meta": {\n    "terms-of-service": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf"\n  },\n  "new-authz": "https://acme-v01.api.letsencrypt.org/acme/new-authz",\n  "new-cert": "https://acme-v01.api.letsencrypt.org/acme/new-cert",\n  "new-reg": "https://acme-v01.api.letsencrypt.org/acme/new-reg",\n  "revoke-cert": "https://acme-v01.api.letsencrypt.org/acme/revoke-cert"\n}'
2018-02-25 16:13:30,702:INFO:certbot.main:Obtaining a new certificate
2018-02-25 16:13:30,702:DEBUG:acme.client:Requesting fresh nonce
2018-02-25 16:13:30,702:DEBUG:acme.client:Sending HEAD request to https://acme-v01.api.letsencrypt.org/acme/new-authz.
2018-02-25 16:13:30,897:DEBUG:urllib3.connectionpool:https://acme-v01.api.letsencrypt.org:443 "HEAD /acme/new-authz HTTP/1.1" 405 0
2018-02-25 16:13:30,898:DEBUG:acme.client:Received response:
HTTP 405
Server: nginx
Content-Type: application/problem+json
Content-Length: 91
Allow: POST
Replay-Nonce: UNy4HAiThTSZN5JIx-5aBx3zu50yLNcbDuxhwdYCveE
Expires: Sun, 25 Feb 2018 16:13:30 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Sun, 25 Feb 2018 16:13:30 GMT
Connection: keep-alive

b''
2018-02-25 16:13:30,898:DEBUG:acme.client:Storing nonce: UNy4HAiThTSZN5JIx-5aBx3zu50yLNcbDuxhwdYCveE
2018-02-25 16:13:30,898:DEBUG:acme.client:JWS payload:
b'{\n  "identifier": {\n    "type": "dns",\n    "value": "www.domaine.tld"\n  },\n  "resource": "new-authz"\n}'
2018-02-25 16:13:30,913:DEBUG:acme.client:Sending POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz:
{
  "protected": "eyJhbGciOiAiUlMyNTYiLCAiandrIjogeyJuIjogIndaanYwczhlLURXMW1IYVdjOGx0Z3dFZDNxM25IclF1R3pZU01fRUZQNk5ld0FaSFo4dTFXbTlpWGNkMEgtZ1RvVFNWbHJQMXktQ0tsVVlUUGFoNmlTRGMyZ0VabXpEbndQUW42c1J2c2lHNDdzQ2FMWkIzc1ItaHAyX3ZXVmhJZGNEamQxcWdVY1Vzd21MWG5veDEyOUVDZWROS3E3ZzNFWTloLUZ2VzM0dUNRT2RRVEdCUHc3cHVDYVZDV1ZTc1FBdHRYaTVwR3lVMkJlcGhZRmxLeTdEOVVqM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QIG1Ds6BABjCCaZUDBpvXt6q-0_NvL-_LT-gJ_xwwbEdXL_k1XTcIg7U2rLBIqxcRom_L_uA9um3ylG3_PCuakfxejNCXQddyl4nH-fjSaPU1RTgVIA00aIpQZIicQ39Qi_MkASk6fdnCNcAc1_UYML5qbJUeS2SQw9A8Ha8kcNOhZMc93fnf0tQJ2LOC_vgXcuF2EAhVNFIScOlShmUd6mPglXflbpyUzf_drSFPKgdj3zroKKYlIg2FcdI_m7XFCrG2yUpAuyG4amUV5Eht1uspQOx85hgSbJSNONG0TFDbI2CJpk_wf7x7havoFH1HPuUcPYgmKlhrk1F7i1NZHohO7RqSGR-hVtLGHpPNmaAa2WmLeQ",
  "payload": "ewogICJpZGVudGlmaWVyIjogewogICAgInR5cGUiOiAiZG5zIiwKICAgICJ2YWx1ZSI6ICJ3d3cuZG9tYWluZS50bGQiCiAgfSwKICAicmVzb3VyY2UiOiAibmV3LWF1dGh6Igp9"
}
2018-02-25 16:13:31,133:DEBUG:urllib3.connectionpool:https://acme-v01.api.letsencrypt.org:443 "POST /acme/new-authz HTTP/1.1" 400 137
2018-02-25 16:13:31,134:DEBUG:acme.client:Received response:
HTTP 400
Server: nginx
Content-Type: application/problem+json
Content-Length: 137
Boulder-Requester: 30102071
Replay-Nonce: einiiY1xJ9-ap3pW7T5brgQIdlA3lZKyDaq96KlpehU
Expires: Sun, 25 Feb 2018 16:13:31 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Sun, 25 Feb 2018 16:13:31 GMT
Connection: close

b'{\n  "type": "urn:acme:error:malformed",\n  "detail": "Error creating new authz :: Name does not end in a public suffix",\n  "status": 400\n}'
2018-02-25 16:13:31,134:DEBUG:acme.client:Storing nonce: einiiY1xJ9-ap3pW7T5brgQIdlA3lZKyDaq96KlpehU
2018-02-25 16:13:31,134:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
  File "/usr/bin/letsencrypt", line 11, in <module>
    load_entry_point('certbot==0.21.1', 'console_scripts', 'certbot')()
  File "/usr/lib/python3/dist-packages/certbot/main.py", line 1240, in main
    return config.func(config, plugins)
  File "/usr/lib/python3/dist-packages/certbot/main.py", line 1120, in certonly
    lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
  File "/usr/lib/python3/dist-packages/certbot/main.py", line 118, in _get_and_save_cert
    lineage = le_client.obtain_and_enroll_certificate(domains, certname)
  File "/usr/lib/python3/dist-packages/certbot/client.py", line 357, in obtain_and_enroll_certificate
    certr, chain, key, _ = self.obtain_certificate(domains)
  File "/usr/lib/python3/dist-packages/certbot/client.py", line 318, in obtain_certificate
    self.config.allow_subset_of_names)
  File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 66, in get_authorizations
    self.authzr[domain] = self.acme.request_domain_challenges(domain)
  File "/usr/lib/python3/dist-packages/acme/client.py", line 213, in request_domain_challenges
    typ=messages.IDENTIFIER_FQDN, value=domain), new_authzr_uri)
  File "/usr/lib/python3/dist-packages/acme/client.py", line 192, in request_challenges
    response = self.net.post(self.directory.new_authz, new_authz)
  File "/usr/lib/python3/dist-packages/acme/client.py", line 709, in post
    return self._post_once(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/acme/client.py", line 722, in _post_once
    return self._check_response(response, content_type=content_type)
  File "/usr/lib/python3/dist-packages/acme/client.py", line 583, in _check_response
    raise messages.Error.from_json(jobj)
acme.messages.Error: urn:acme:error:malformed :: The request message was malformed :: Error creating new authz :: Name does not end in a public suffix
2018-02-25 16:13:31,136:ERROR:certbot.log:An unexpected error occurred:
2018-02-25 16:13:31,136:ERROR:certbot.log:The request message was malformed :: Error creating new authz :: Name does not end in a public suffix
2018-02-25 18:12:33,782:DEBUG:certbot.main:certbot version: 0.21.1
2018-02-25 18:12:33,783:DEBUG:certbot.main:Arguments: ['-d', 'www.domaine.tld', '-d', 'domaine.tld', '--agree-tos', '-m', 'contact@domaine.tld', '--rsa-key-size', '4096', '--standalone']
2018-02-25 18:12:33,784:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2018-02-25 18:12:33,791:DEBUG:certbot.log:Root logging level set at 20
2018-02-25 18:12:33,791:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2018-02-25 18:12:33,792:DEBUG:certbot.plugins.selection:Requested authenticator standalone and installer None
2018-02-25 18:12:33,855:DEBUG:certbot.plugins.selection:Single candidate plugin: * standalone
Description: Spin up a temporary webserver
Interfaces: IAuthenticator, IPlugin
Entry point: standalone = certbot.plugins.standalone:Authenticator
Initialized: <certbot.plugins.standalone.Authenticator object at 0x7f608af57390>
Prep: True
2018-02-25 18:12:33,855:DEBUG:certbot.plugins.selection:Selected authenticator <certbot.plugins.standalone.Authenticator object at 0x7f608af57390> and installer None
2018-02-25 18:12:33,855:INFO:certbot.plugins.selection:Plugins selected: Authenticator standalone, Installer None
2018-02-25 18:12:33,860:DEBUG:certbot.main:Picked account: <Account(RegistrationResource(body=Registration(key=JWKRSA(key=<ComparableRSAKey(<cryptography.hazmat.backends.openssl.rsa._RSAPublicKey object at 0x7f608aeda5c0>)>), contact=('mailto:alain.bellec8@gmail.com',), agreement='https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf', status='valid'), uri='https://acme-v01.api.letsencrypt.org/acme/reg/30102071', new_authzr_uri='https://acme-v01.api.letsencrypt.org/acme/new-authz', terms_of_service='https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf'), 90d53b118611db3547f00cbf4b580600, Meta(creation_dt=datetime.datetime(2018, 2, 25, 16, 11, 55, tzinfo=<UTC>), creation_host='Alain-PC-BUSTER.lan'))>
2018-02-25 18:12:33,861:DEBUG:acme.client:Sending GET request to https://acme-v01.api.letsencrypt.org/directory.
2018-02-25 18:12:33,863:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
2018-02-25 18:12:34,229:DEBUG:urllib3.connectionpool:https://acme-v01.api.letsencrypt.org:443 "GET /directory HTTP/1.1" 200 562
2018-02-25 18:12:34,230:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Content-Type: application/json
Content-Length: 562
Replay-Nonce: PLSaC8Uw9-kCGqqR5AfVt1ViAFHIw0jS8x59qi9lHTQ
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
Expires: Sun, 25 Feb 2018 18:12:34 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Sun, 25 Feb 2018 18:12:34 GMT
Connection: keep-alive

b'{\n  "key-change": "https://acme-v01.api.letsencrypt.org/acme/key-change",\n  "meta": {\n    "terms-of-service": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf"\n  },\n  "new-authz": "https://acme-v01.api.letsencrypt.org/acme/new-authz",\n  "new-cert": "https://acme-v01.api.letsencrypt.org/acme/new-cert",\n  "new-reg": "https://acme-v01.api.letsencrypt.org/acme/new-reg",\n  "rAYLZ2X_JqI": "https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417",\n  "revoke-cert": "https://acme-v01.api.letsencrypt.org/acme/revoke-cert"\n}'
2018-02-25 18:12:34,230:INFO:certbot.main:Obtaining a new certificate
2018-02-25 18:12:34,231:DEBUG:acme.client:Requesting fresh nonce
2018-02-25 18:12:34,231:DEBUG:acme.client:Sending HEAD request to https://acme-v01.api.letsencrypt.org/acme/new-authz.
2018-02-25 18:12:34,984:DEBUG:urllib3.connectionpool:https://acme-v01.api.letsencrypt.org:443 "HEAD /acme/new-authz HTTP/1.1" 405 0
2018-02-25 18:12:34,984:DEBUG:acme.client:Received response:
HTTP 405
Server: nginx
Content-Type: application/problem+json
Content-Length: 91
Allow: POST
Replay-Nonce: umNjiipBe-rzDPnkKDmO5qrvV2mUbosRBfUtor_nqSo
Expires: Sun, 25 Feb 2018 18:12:34 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Sun, 25 Feb 2018 18:12:34 GMT
Connection: keep-alive

b''
2018-02-25 18:12:34,985:DEBUG:acme.client:Storing nonce: umNjiipBe-rzDPnkKDmO5qrvV2mUbosRBfUtor_nqSo
2018-02-25 18:12:34,985:DEBUG:acme.client:JWS payload:
b'{\n  "identifier": {\n    "type": "dns",\n    "value": "www.domaine.tld"\n  },\n  "resource": "new-authz"\n}'
2018-02-25 18:12:34,998:DEBUG:acme.client:Sending POST request to https://acme-v01.api.letsencrypt.org/acme/new-authz:
{
  "protected": "eyJhbGciOiAiUlMyNTYiLCAiandrIjogeyJuIjogIndaanYwczhlLURXMW1IYVdjOGx0Z3dFZDNxM25IclF1R3pZU01fRUZQNk5ld0FaSFo4dTFXbTlpWGNkMEgtZ1RvVFNWbHJQMXktQ0tsVVlUUGFoNmlTRGMyZ0VabXpEbndQUW42c1J2c2lHNDdzQ2FMWkIzc1ItaHAyX3ZXVmhJZGNEamQxcWdVY1Vzd21MWG5veDEyOUVDZWROS3E3ZzNFWTloLUZ2VzM0dUNRT2RRVEdCUHc3cHVDYVZDV1ZTc1FBdHRYaTVwR3lVMkJlcGhZRmxLeTdEOVVqM0xiOWsyeVNmUFBoMlBiYm01WG5XTEpoU2RFc0FjVWZYRDF1RG94bDZrMHFRNFlUOWdTOVNkN09fRkRjWHl6RUp6MFpIV2VjVHdYc0Q2SEE4MEVmZTVYUFVUcHBXMkV2ZHpSZ2x2a2lvNy1POHdYSmd1SVE5QVAxdEM0OHBPYUxYRWVKZlhlMGhxS3RBT0hRb3Z6ekV5MHdJTGotQ01laEsteGlVczVRWWdDZ04tWldnOW1ldEc0ZElHR2JWeTFyWVNDUTEtc09HOEVXRE5ybXY1cnBEamtydnZqQ0djYlBsSU80Z1V5QXJ3Y29YY0NsTjZNSE1fNFoyYnljbDN6ZU0tVFRkWHZzNjBHXzBMdlQzdW5sR2dSQXAtVldEWjN0UGRMNEJMaWU4SEh1SzNrZ3IyWDBla19ZZUdybVN3V0ZhUVBnZGdUOWRFek5LVWhCTDFEQWtQNE1kb0dKcDZNbVV0dm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V3LWF1dGh6Igp9"
}
2018-02-25 18:12:35,258:DEBUG:urllib3.connectionpool:https://acme-v01.api.letsencrypt.org:443 "POST /acme/new-authz HTTP/1.1" 400 137
2018-02-25 18:12:35,258:DEBUG:acme.client:Received response:
HTTP 400
Server: nginx
Content-Type: application/problem+json
Content-Length: 137
Boulder-Requester: 30102071
Replay-Nonce: vJ0aKHrb8IcVF_jPwcnZOXLgY1o6QkkkwlNVrrKlrAY
Expires: Sun, 25 Feb 2018 18:12:35 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Sun, 25 Feb 2018 18:12:35 GMT
Connection: close

b'{\n  "type": "urn:acme:error:malformed",\n  "detail": "Error creating new authz :: Name does not end in a public suffix",\n  "status": 400\n}'
2018-02-25 18:12:35,259:DEBUG:acme.client:Storing nonce: vJ0aKHrb8IcVF_jPwcnZOXLgY1o6QkkkwlNVrrKlrAY
2018-02-25 18:12:35,259:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
  File "/usr/bin/letsencrypt", line 11, in <module>
    load_entry_point('certbot==0.21.1', 'console_scripts', 'certbot')()
  File "/usr/lib/python3/dist-packages/certbot/main.py", line 1240, in main
    return config.func(config, plugins)
  File "/usr/lib/python3/dist-packages/certbot/main.py", line 1120, in certonly
    lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
  File "/usr/lib/python3/dist-packages/certbot/main.py", line 118, in _get_and_save_cert
    lineage = le_client.obtain_and_enroll_certificate(domains, certname)
  File "/usr/lib/python3/dist-packages/certbot/client.py", line 357, in obtain_and_enroll_certificate
    certr, chain, key, _ = self.obtain_certificate(domains)
  File "/usr/lib/python3/dist-packages/certbot/client.py", line 318, in obtain_certificate
    self.config.allow_subset_of_names)
  File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 66, in get_authorizations
    self.authzr[domain] = self.acme.request_domain_challenges(domain)
  File "/usr/lib/python3/dist-packages/acme/client.py", line 213, in request_domain_challenges
    typ=messages.IDENTIFIER_FQDN, value=domain), new_authzr_uri)
  File "/usr/lib/python3/dist-packages/acme/client.py", line 192, in request_challenges
    response = self.net.post(self.directory.new_authz, new_authz)
  File "/usr/lib/python3/dist-packages/acme/client.py", line 709, in post
    return self._post_once(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/acme/client.py", line 722, in _post_once
    return self._check_response(response, content_type=content_type)
  File "/usr/lib/python3/dist-packages/acme/client.py", line 583, in _check_response
    raise messages.Error.from_json(jobj)
acme.messages.Error: urn:acme:error:malformed :: The request message was malformed :: Error creating new authz :: Name does not end in a public suffix
2018-02-25 18:12:35,260:ERROR:certbot.log:An unexpected error occurred:
2018-02-25 18:12:35,260:ERROR:certbot.log:The request message was malformed :: Error creating new authz :: Name does not end in a public suffix
 



là je suis au bout de mes démarches .

je ne comprends pas ce fichier de logs .

et avec nginx , alors , même pas la peine d'en parler :

# service nginx start


Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.



normalement c'était la fin , j'y étais arrivé .mais ... non . zut !

m**** , ch**** .


# systemctl status nginx.service


● nginx.service - A high performance web server and a reverse proxy server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2018-02-25 22:34:38 CET; 2min 44s ago
     Docs: man:nginx(8)
  Process: 9990 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)

févr. 25 22:34:38 Alain-PC-BUSTER systemd[1]: Starting A high performance web server and a reverse proxy server...
févr. 25 22:34:38 Alain-PC-BUSTER nginx[9990]: nginx: [emerg] unexpected end of file, expecting "}" in /etc/nginx/conf.d/mastodon.conf:86
févr. 25 22:34:38 Alain-PC-BUSTER nginx[9990]: nginx: configuration file /etc/nginx/nginx.conf test failed
févr. 25 22:34:38 Alain-PC-BUSTER systemd[1]: nginx.service: Control process exited, code=exited status=1
févr. 25 22:34:38 Alain-PC-BUSTER systemd[1]: nginx.service: Failed with result 'exit-code'.
févr. 25 22:34:38 Alain-PC-BUSTER systemd[1]: Failed to start A high performance web server and a reverse proxy server.
 



# journalctl -xe


févr. 25 22:38:22 Alain-PC-BUSTER minissdpd[1224]: peer [fe80::cc67:3435:826b:18]:52768 is not from a LAN
févr. 25 22:38:23 Alain-PC-BUSTER hddtemp[1390]: /dev/sda: ST2000DM001-9YN164: 31 C
févr. 25 22:38:23 Alain-PC-BUSTER hddtemp[1390]: /dev/sdb: ST2000DM001-1CH164: 30 C
févr. 25 22:38:23 Alain-PC-BUSTER hddtemp[1390]: /dev/sdc: ST2000DL003-9VT166: 31 C
févr. 25 22:38:23 Alain-PC-BUSTER hddtemp[1390]: /dev/sdd: WDC WD30EFRX-68EUZN0: 32 C
févr. 25 22:38:23 Alain-PC-BUSTER hddtemp[1390]: /dev/sde: ST4000VM000-2AF166: 30 C
févr. 25 22:38:23 Alain-PC-BUSTER hddtemp[1390]: /dev/sdf: WDC WD40EFRX-68WT0N0: 31 C
févr. 25 22:38:25 Alain-PC-BUSTER minissdpd[1224]: peer [fe80::cc67:3435:826b:18]:52768 is not from a LAN
févr. 25 22:38:28 Alain-PC-BUSTER hddtemp[1390]: /dev/sda: ST2000DM001-9YN164: 31 C
févr. 25 22:38:28 Alain-PC-BUSTER hddtemp[1390]: /dev/sdb: ST2000DM001-1CH164: 30 C
févr. 25 22:38:28 Alain-PC-BUSTER hddtemp[1390]: /dev/sdc: ST2000DL003-9VT166: 31 C
févr. 25 22:38:28 Alain-PC-BUSTER hddtemp[1390]: /dev/sdd: WDC WD30EFRX-68EUZN0: 32 C
févr. 25 22:38:28 Alain-PC-BUSTER hddtemp[1390]: /dev/sde: ST4000VM000-2AF166: 30 C
févr. 25 22:38:28 Alain-PC-BUSTER hddtemp[1390]: /dev/sdf: WDC WD40EFRX-68WT0N0: 31 C
févr. 25 22:38:28 Alain-PC-BUSTER minissdpd[1224]: peer [fe80::cc67:3435:826b:18]:52768 is not from a LAN
févr. 25 22:38:32 Alain-PC-BUSTER minissdpd[1224]: peer [fe80::cc67:3435:826b:18]:52768 is not from a LAN
févr. 25 22:38:33 Alain-PC-BUSTER hddtemp[1390]: /dev/sda: ST2000DM001-9YN164: 31 C
févr. 25 22:38:33 Alain-PC-BUSTER hddtemp[1390]: /dev/sdb: ST2000DM001-1CH164: 31 C
févr. 25 22:38:33 Alain-PC-BUSTER hddtemp[1390]: /dev/sdc: ST2000DL003-9VT166: 31 C
févr. 25 22:38:33 Alain-PC-BUSTER hddtemp[1390]: /dev/sdd: WDC WD30EFRX-68EUZN0: 32 C
févr. 25 22:38:33 Alain-PC-BUSTER hddtemp[1390]: /dev/sde: ST4000VM000-2AF166: 30 C
févr. 25 22:38:33 Alain-PC-BUSTER hddtemp[1390]: /dev/sdf: WDC WD40EFRX-68WT0N0: 31 C
févr. 25 22:38:35 Alain-PC-BUSTER minissdpd[1224]: peer [fe80::cc67:3435:826b:18]:52768 is not from a LAN
 

Dernière modification par Debian Alain (25-02-2018 23:22:41)

Hors ligne

#9 26-02-2018 11:19:54

Debian Alain
Membre
Lieu : Bretagne
Distrib. : sid (unstable) / bullseye (stable)
Noyau : Linux sid 6.4.0-3-amd64
(G)UI : Gnome X.org (X11) / GDM3
Inscription : 11-03-2017
Site Web

Re : [clos] utilisation de mastodon

j'aurai aimé m'inscrire sur matodon .

il m'a semblé que pour ce faire , je devais installer une instance sur ma machine .

apparemment , je me suis trompé .

il suffisait de s'inscrire sur https://mastodon.social/about

donc , je rectifie ce fil en "utilisation mastodon"

nb: pour la lecture :  https://joinmastodon.org/

Hors ligne

Pied de page des forums