Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


This page contains some details on how to renew certificates with Let's Encrypt using the same key, which is very helpful in supporting authentication via a SPKI pinset. Thanks to Willem Toorop and Ralph Dolmans at NLnet Labs for developing this!

Manual renewal

  1. Create your new CSR from your existing private key using 'openssl req'

    Code Block
    opensssl req -new -key <my_key_file>
  2. Use the certbot interface to renew the cert, for exampe example using web authenticaiton 

    Code Block
    certbot certonly -d --csr /usr/local/certs/ --webroot -w /home/website/public

    or using dns challenge

    Code Block
    certbot certonly -d --csr /usr/local/certs/ --preferred_challenges dns --manual

Automated renewal  is a great tool for automating the renewal workflow, particularly if you want to use the DNS challenge method, rather than web access.