trellis-cloudflare-origin-ca icon indicating copy to clipboard operation
trellis-cloudflare-origin-ca copied to clipboard

Overwrite SSL certificates if settings are changed

Open Xilonz opened this issue 4 years ago • 1 comments

Submit a feature request or bug report


What is the current behavior?

When adding domains or changing the site_hosts the cloudflare_origin_ca doesn't get updated because {site_key}.pem already exists. [FATAL] Certificate file "{site_key}.pem" already exists, use -overwrite to overwrite This results in cloudflare not adding the origin ca to additional domains or updating the hostnames.

What is the expected or desired behavior?

I think this behavior should be documented and/or be resolved. A solution would be to allowing to overwrite the certificate file name or passing -overwrite using an argument.

Xilonz avatar Sep 27 '19 10:09 Xilonz