BLπŸ…ΎG News

Actu G33k & Admin stuff. Powered by πŸ…΄πŸ†πŸ†πŸ…΄πŸ†„πŸ†32

β‹… Aucun commentaire

letsencrypt devient certbot

alt

Site officiel : https://certbot.eff.org/

Simplement mettre Γ  jour les paquets letsencrypt et python-letsencrypt depuis les dΓ©pΓ΄t backports de Debian.


  apt -t jessie-backports install python-certbot certbot  python-psutil 

La commande letsencrypt sera toujours disponible mais pointera sur certbot.

source : https://blog.karolak.fr

β‹… Aucun commentaire

How to Simply renewal SSL certificate with letsencrypt

Install letsencrypt first :p

# cd /opt
# git clone https://github.com/certbot/certbot.git



Before anything need to stop Apache2 service and let's make the magic...


# /etc/init.d/apache2 stop
# ./certbot-auto renew

-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/public.echosystem.fr.conf
-------------------------------------------------------------------------------
Cert is due for renewal, auto-renewing...
Starting new HTTPS connection (1): acme-staging.api.letsencrypt.org
Renewing an existing certificate
Performing the following challenges:
tls-sni-01 challenge for public.echosystem.fr
Waiting for verification...
Cleaning up challenges
Generating key (2048 bits): /etc/letsencrypt/keys/0156_key-certbot.pem
Creating CSR: /etc/letsencrypt/csr/0156_csr-certbot.pem

The following certs were successfully renewed:
/etc/letsencrypt/live/rss.echosystem.fr/fullchain.pem (success)
/etc/letsencrypt/live/wiki.echosystem.fr/fullchain.pem (success)
/etc/letsencrypt/live/gitlab.echosystem.fr/fullchain.pem (success)
/etc/letsencrypt/live/error.echosystem.fr/fullchain.pem (success)
/etc/letsencrypt/live/tools.echosystem.fr/fullchain.pem (success)
/etc/letsencrypt/live/pastebin.echosystem.fr/fullchain.pem (success)
/etc/letsencrypt/live/contact.echosystem.fr/fullchain.pem (success)
/etc/letsencrypt/live/netdata.echosystem.fr/fullchain.pem (success)
/etc/letsencrypt/live/irc-log.echosystem.fr/fullchain.pem (success)
/etc/letsencrypt/live/links.echosystem.fr/fullchain.pem (success)
/etc/letsencrypt/live/gk.echosystem.fr/fullchain.pem (success)
/etc/letsencrypt/live/fm.echosystem.fr/fullchain.pem (success)
/etc/letsencrypt/live/blog.echosystem.fr/fullchain.pem (success)
/etc/letsencrypt/live/snippet.echosystem.fr/fullchain.pem (success)
/etc/letsencrypt/live/social.echosystem.fr/fullchain.pem (success)
/etc/letsencrypt/live/echosystem.fr/fullchain.pem (success)
/etc/letsencrypt/live/public.echosystem.fr/fullchain.pem (success)



and renable Apache
# /etc/init.d/apache2 start



Then put in a crontab and you can forget this task ;)

by πŸ…΄πŸ†πŸ†πŸ…΄πŸ†„πŸ†32
Hosted on
πŸ…΄πŸ…²πŸ…·πŸ…ΎπŸ†‚πŸ†ˆπŸ†‚πŸ†ƒπŸ…΄πŸ…Ό