What is the difference between v-add-letsencrypt-domain and v-add-letsencrypt-host?

Hi everyone,

I am installing a site manually via CLI, and I have three question regarding v-add-letsencrypt-domain.

  1. What is the difference between v-add-letsencrypt-domain and v-add-letsencrypt-host?
  2. What is [MAIL] that I see in the parameters?
  3. Once I install the SSL certificate using v-add-letsencrypt-domain, do I have to run the command to add the cronjob check for the SSL renewal, or is that automatic?


v-add-letsencrypt-domain does for any domains

v-add-letsencrypt-host call v-add-letsencrypt-domain and update some other certificates for Hestia it self

Generate SSL for mail.domain.com and webmail.com.com

Cronjob is created by default

So if I use

v-add-letsencrypt-host mydomainname.com www.mydomainname.com

a SSL certificate will be issued for mydomainname.com, www.mydomainname.com, mail.mydomainname.com and webmail.mydomainname.com ?

No, v-add-letsencrypt-host doesn’t accept arguments, it will only issue a certificate for your hostname.

If you want to issue a certificate for mydomainname.com,www.mydomainname.com,mail.mydomainname.com and webmail.mydomainname.com you should use this command:

v-add-letsencrypt-domain YourUser mydomainname.com www.mydomainname.com yes
1 Like

Thank you!

:smile: but I’m sorry, what do we mean for hostname, since the HestaCP is full of hostnames?

Anyway I’ll use v-add-letsencrypt-domain then :+1: , no need to manually add the cron if I got this right

The server’s name: hostname -f

Cron job is already added, you don’t need neither to add it manually nor remove it.

v-list-cron-jobs admin | grep ssl
1 Like

Awesome, thank you!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.