Encrypt lets for multiple domains with Ubuntu

Asked

Viewed 43 times

1

I wrote a PHP script that creates new websites for my clients, with different domains for each site. This way, I can quickly create a new custom site for my customers. As an example, my domain is on an example site.com.br and customers direct their domains (for example www.empresa1.com.br, www.empresa2.com.br ) with the DNS configuration:

Type To -> 18.228.80.90 (fictional IP) and CNAME www.empresa1.com.br -> example.com.br

Thus, when the domain name 'empresa1.com.br' is typed, it is automatically directed to the 'example.com.br' server that will check the domain typed and open the content of the corresponding website, through a simple verification of the domain name by PHP.

How could I deploy Lets Encrypt HTTPS for multiple domains, and I only use one server for all sites? I am currently using Certbot, installed on UBUNTU 18.04, but from my searches and searches for more information, I came to the conclusion that it will not be possible to use it to create new certificates, because it manages only 1 key (and each key has a limit of 100 certified domains).

  • Sandro, the site is specifically about programming and related tools (while used for programming). Setup and support questions are not in scope. Links to better understand the site: [tour], [help] and On what topics can I ask questions here?.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.