Activating one SSL on a subdomain breaks another SSL subdomain

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: deerdat.com

I ran this command: letsencrypt --apache -d app.deerdat.com AND letsencrypt --apache -d my.deerdat.com

It produced this output:
Each one works but it breaks the other. If I get app.deerdat.com SSL works but my.deerdat.com SSL stops, and vice versa

My web server is (include version): Apache version 2.4.7

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

My hosting provider, if applicable, is: SELF

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): NO

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

What are the instructions to create wildcards?

Hi @todd

if that happens, it's simple. Then you have one vHost, this vHost can have one certificate.

So create one certificate with both (or three) domain names:

letsencrypt --apache -d app.deerdat.com -d my.deerdat.com -d deerdat.com

if deerdat.com uses the same vHost.

Then your one vHost uses this certificate - and all subdomains are included.

It's possible, but you would need dns-01 validation. http-01 validation is easier.

I tried the each one separate again, before I read your reply. On the following OPTIONS:

What would you like to do?


1: Attempt to reinstall this existing certificate
2: Renew & replace the cert (limit ~5 per 7 days)


I selected #1 for both app.deerdat.com and my.deerdat.com. (selected #2 earlier)

Seems to be working… Though I believe I did this before and did not work…

Will keep checking and send feedback.

Will try your suggestion if it happens again.

Thanks,

My previous reply did not work. Did your reply and seems to be working again. Will keep checking it…

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