I tried to renew the SSL certificate via terminal, so I can build a monthly cron to renew it automatically. I could delete it, then I tried to recreate it. In the web GUI SSL certificate and HSTS was ticked, but https redirection unticked:
v-delete-web-domain-ssl USER DOMAIN.TLD
v-add-letsencrypt-domain USER DOMAIN.TLD
are these the correct commands?
how to re-enable https-redirection via terminal? Is this possible?
Only when I deleted the certificate via the GUI and re-enabled it there, it worked again.
The problem is, if it’s not automated, e.g. via cron, it will happen again in the future.
Hi sahsanu, thanks for your answer! With this command all three ticks are there and ssl is green, but still, the certificate doesn‘t work. Only if I re-issue it via the gui.
I forgot to mention that the website has a custom directory (subfolder). It‘s called web:
Absolute path:
/home/USER/web/DOMAIN.TLD/public_html/web
I suppose the commands need to be adapted, but I don‘t see the option in the CLI reference. Do you know how it‘s done with a subfolder?