Certbot - Add Extra Domains to Certificate using --expand flags

hi @vnatuan1989

to addmore but it renew certificate . I don't want it , I want it use old certificate.

Certificates are immutable - this means once a certificate has been issued you are not able to add more domains to it at a later date.

You can use the -expand flag to create a NEW certificate covering all your domains.

Instructions on the expand flag: User Guide — Certbot 2.7.0.dev0 documentation

--expand If an existing cert is a strict subset of the
requested names, always expand and replace it with the
additional names. (default: Ask)

Review of how -expand works: Reverse Engineering Certbot Expand Option to Use with Another Client

Andrei

1 Like