Vesta: Force renew certificate

Created on 24 Oct 2018  路  7Comments  路  Source: serghey-rodin/vesta

Is it possible add force option into v-update-letsencrypt-ssl to renew all certificates independent of they expire date?

The problem is - I add new alias to domain I must renew certificate. And today it is only possible by disable/enable SSL at domain page of panel. During this procedure site go offline while new certifacate will be issued. In my case alias count is over 80 and renew process takes 5-10 minutes. During this time site offline.

https://github.com/serghey-rodin/vesta/blob/master/bin/v-update-letsencrypt-ssl#L44

Most helpful comment

I think all aliases. Comma separated.
ex:

v-add-letsencrypt-domain username site.com newsubdomain.site.com,www.site.com,www1.site.com,sub1.site.com

Example code: https://github.com/serghey-rodin/vesta/blob/master/web/edit/web/index.php#L369-L370

All 7 comments

Did the following test. I comment expiration check. The certificate has been re-issued, but there are no new aliases in it, they have not been added. So the fource option will not solve the problem.

Is any ideas how solve such problem?

The v-update-letsencrypt-ssl command uses the aliases from the certificate.

Run this command: v-add-letsencrypt-domain

So I simply can run the following command:

v-add-letsencrypt-domain username site.com newsubdomain.site.com

or I must pass all aliases?

I think all aliases. Comma separated.
ex:

v-add-letsencrypt-domain username site.com newsubdomain.site.com,www.site.com,www1.site.com,sub1.site.com

Example code: https://github.com/serghey-rodin/vesta/blob/master/web/edit/web/index.php#L369-L370

Thank you!
v-add-letsencrypt-domain solved my problem!

solved my problem too!

Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

darkworks picture darkworks  路  8Comments

developer-av picture developer-av  路  7Comments

cakama3a picture cakama3a  路  5Comments

robindirksen1 picture robindirksen1  路  6Comments

Prince-M picture Prince-M  路  4Comments