LetsEncrypt certificate update

Let’s Encrypt will notify you by email if the certificate will expire in 20 dyas. I updated the certificate by steps bellow:

  1. Go into your certbot directory(you installed certificates in that directory)
    cd /path/to/certbot
  2. Check current certificates
    ./certbot-auto certificates
  3. Update test
    ./certbot renew --dry-run
  4. Update
    ./certbot renew
  5. Restart server
    sudo service nginx restart