Casanier, mais fenêtre ouverte sur le monde entier
Mise en place d’un certificat SSL sur debian
Mise en place d’un certificat SSL sur debian

Mise en place d’un certificat SSL sur debian

  • Installer snapd

Tapez les commandes suivantes :

apt install snapd
snap install core
  • Installer certbot

Tapez les commandes suivantes :

snap install --classic certbot
ln -s /snap/bin/certbot /usr/bin/certbot
  • Installer un certificat

Tapez les commandes suivantes :

certbot --apache

Si erreur : Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80.

Voici la commande à effectuer : certbot certonly -w /var/www/html -d desselerie.ddns.net –register-unsafely-without-email

et taper l’option 3 :

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *