Multiple domains on the same ubuntu server

I need to install ssl certificate in multiple domains configured on a linux ubuntu server, i am using virtual host for the domains. I used the celbot however. only got in one domain I need help

Hi @makdoido

please share your setup:


Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command:

It produced this output:

My web server is (include version):

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know):

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):

My domain is: https://uniservice.com.br/,http://gasdetect.com.br/,http://termografo.com.br/

I ran this command:#sudo certbot-auto --apache -d uniservice.com.br , gasdetect.com.br,termografo.com.br

It produced this output:just a certificate for uniservice.com.br

My web server is (include version): http://201.73.144.33/ embratel cloud

The operating system my web server runs on is (include version):
Ubuntu Linux Server 14.04 LTS + MySQL Community 14.04 & 5.6, x86_64, Inglês / Ubuntu Linux Server 14.04 LTS + MySQL Community Container (CT)

My hosting provider, if applicable, is: Embratel Cloud

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): not

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): Cerbot 1.0.0

Your command

May be that’s wrong. Checking your domain you have created two new certificates - https://check-your-website.server-daten.de/?q=uniservice.com.br#ct-logs

Issuer not before not after Domain names LE-Duplicate next LE
Let’s Encrypt Authority X3 2019-12-06 2020-03-05 gasdetect.com.br, uniservice.com.br - 2 entries duplicate nr. 1
Let’s Encrypt Authority X3 2019-12-06 2020-03-05 uniservice.com.br - 1 entries duplicate nr. 1

One with one, one with two domain names.

If you want more then one domain name, use the -d option multiple:

-d uniservice.com.br -d gasdetect.com.br -d termografo.com.br

But first check if you have a matching vHost configuration:

apachectl -S

One vHost with three domains -> one certificate with the same three domain names.
Different vHosts with one domain -> create one certificate per vHost with one domain name.

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