Sharing letsencrypt CERT

Hi
Not sure if I should ask the question on this forum as it relates to letsencrypt.
But I suspect that the ERPNExt community is most likely to have had a similar
situation.

Server 1 ( Multi-tenant ; wildcard domain *.mydomain.com
Site 1 Subdomain1.mydomain.com
Site 2 Subdomain2.mydomain.com

Teh SSL cert for Server 1 was created with the manual method.

I want to create a third site but on another server and if possible also
use mydomain.com

Server 2
Site 3, Subdomain3.mydomain.com

Is this possible?

Hi,

Absolutely possible.

Thanks,

Divyesh Mangroliya

Thank you for your post @mangroliya

Is there perhaps someone that can confirm the procedure for this ?

To create the first server

  1. I installed certbot.
  2. sudo certbot certonly --manual --preferred-challenges dns
  3. specified the wild-card *.mydoamin.com
  4. Updated my DNS server TXT record
  5. Updated my site JSON file with the “wildcard” entry
  6. bench setup nginx
  7. sudo service nginx reload

Do I simply repeat this procedure on the second server ?

Hi,

My assumption was based on that you copy the wildcard SSL to server 2 and Server 3. This whole process will be manual and you need to perform it every 90 Days as Let’s Encrypt Certificate validity is 90 Days.

Thanks,

Divyesh Mangroliya