Generate Let's enncrypt certificate via VIrtualmin cli API

3 posts / 0 new
Last post
#1 Fri, 07/26/2019 - 01:45
izghitu

Generate Let's enncrypt certificate via VIrtualmin cli API

Hi,

I need to setup domains to have let's encrypt ssl certificate via the Virtualmin command line or http API but I can't find any reference to this in any of the Virtualmin docs.

Even the install-cert docs do not say anything about let's encrypt.

Is this possible?

Please help Thanks in advance.

Sun, 07/28/2019 - 10:37
suskozaver

You could use certbot via command line to do it?

You also have a setting in Virtualmin, under System Settings, Virtualmin Configuration, SSL settings, Request Let's Encrypt certificate at domain creation time? yes/no, default is no.

Hope it helps.

Wed, 07/31/2019 - 08:41
izghitu

Thanks for your reply. I have however found how to do it:
virtualmin generate-letsencrypt-cert --domain domain.com --host testing.domain.com --web

Topic locked