Génération de certificats SSL Let’s Encrypt

Génération de certificats SSL Let’s Encrypt.
1) Connexion au serveur :

[~] ➔ ssh admin@92.243.10.47
admin@serversec:~$ su
Password:
root@serversec:/home/admin# cd
root@serversec:~#

2) Arrêt du serveur Nginx :

root@serversec:~# service nginx stop

3) Téléchargement de Let’s encrypt :

root@serversec:~/LETSENCRYPT# git clone https://github.com/letsencrypt/letsencrypt
root@serversec:~/LETSENCRYPT# cd letsencrypt/
root@serversec:~/LETSENCRYPT/letsencrypt#

4) Création des certificats :

root@serversec:~/LETSENCRYPT/letsencrypt# ./letsencrypt-auto certonly --standalone

5) Configuration :

Enter email address : contact@framboisepi.info
Please enter in your domain name(s) : framboisepi.info www.framboisepi.info

6) Vérification :

root@serversec:~/LETSENCRYPT/letsencrypt# ls -l /etc/letsencrypt/live/framboisepi.info/*
lrwxrwxrwx 1 root root 40 May 12 21:56 /etc/letsencrypt/live/framboisepi.info/cert.pem -> ../../archive/framboisepi.info/cert1.pem
lrwxrwxrwx 1 root root 41 May 12 21:56 /etc/letsencrypt/live/framboisepi.info/chain.pem -> ../../archive/framboisepi.info/chain1.pem
lrwxrwxrwx 1 root root 45 May 12 21:56 /etc/letsencrypt/live/framboisepi.info/fullchain.pem -> ../../archive/framboisepi.info/fullchain1.pem
lrwxrwxrwx 1 root root 43 May 12 21:56 /etc/letsencrypt/live/framboisepi.info/privkey.pem -> ../../archive/framboisepi.info/privkey1.pem

Comments are closed, but trackbacks and pingbacks are open.