Keep same public key after renewal

Hello, can someone explain how to keep same public key after renewal?
Should i add something in config, in [renewalparams]?

CentOS 8
Virtualmin

2 Likes

There are a few options for doing this:

  1. To make this change for a single certificate, you may add this to [renewalparams] in the /etc/letsencrypt/renewal/*.conf file:

    reuse_key = True
    
  2. When issuing or renewing a certificate, you can use --reuse-key on the command line, which will be remembered the next time.

  3. To always apply this change for current and future certificates, you can add this to /etc/letsencrypt/cli.ini:

    reuse-key = True 
    

Note that the syntax in (1) and (3) differ slightly.

8 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.