stefanpejcic / OpenPanel

A highly customizable web hosting control panel built with Docker 🐳
https://openpanel.com
216 stars 33 forks source link

opencli ssl-domain should expand existing SSL for wildcard subdomains - not create another ssl #185

Open stefanpejcic opened 2 months ago

stefanpejcic commented 2 months ago

OpenPanel version(s) affected

0.2.8

Description

currently when we run the ssl generation: 2024-09-04_15-31

we end up with 2 certitifacates:

we should use the --expand for certbot and edit exiting certificate, but problem is the ustom script, since letsencrypt caches txt record for 60 sec, we fail second dns validation!

How to reproduce

point domain with nameservers to the server

opencli ssl-domain idemo.openpanel.org --dry-run

Possible Solution

No response

Additional Context

No response