SSL Certificate issue with my domain

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., 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:
sudo certbot --apache -d
It produced this output:
see attached
My web server is (include version):
The operating system my web server runs on is (include version):
ubuntu 20.04
My hosting provider, if applicable, is:
home server
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): lateset on ubuntu repositories

Hello everybody.
I am using Let’s encrypt for an SSL certificate on my nextcloud home server.
As can you see on below screenshots SSL certificate has been created but is working only if I use my IP.
Once I try with my domain, connection failed.

This is how I set up my virtual host in sites-available

Why domain is not working with SSL?
By the way I had some results with openssl

Can somebody explain?

1 Like

You should test your HTTPS system from outside your network first.
Try using SSL Labs

The attached screenshot shows nothing about the certbot output.

1 Like

Thanks for your time and yes you r correct, I delete the screenshot because forum allows me only one picture per post since I am a new member.
I forget to correct my post sorry but anyway the entire installation went pretty well.
I can’t really explain why my domain is not working with ssl certificates .

1 Like

Does the secure site work from the Internet, SSL Labs, a smart phone?

1 Like

Nope, It is not working and SSLLabs report
Unable to connect to server

Then begin at the beginning…

Does global DNS resolve the name “” to your servers’ Internet IP?

Sorry I was not clear. My domain is working from outside my home network but only http version and not the https version.
I don’t know what r you asking on your last answer, sorry I’m not IT professional

You don’t have to be an IT professional to use DNS.
But since the HTTP is reaching you, then the DNS must be OK.

Step #1 DNS OK.

Step #2 HTTP OK

Step #3 HTTPS:
Have you set your router to port forward 80 and 443 to your server?

By the way firewall is set up to
Allow full Apache
And port 443 is open on my router

Yes sir both of them

Please bare with me; as you have given very little information about … anything.

Is the router configured to allow port 80 and port 443 to reach your server?
I know you said the server will accept it.
But I can’t be sure if there is also a router before the server (between it and the Internet).

Yes sir, I answered to you on my above post, both port 80 and 443 are open , firewall is set up to allow full Apache and of course their is a router since this is a Home server running on a old Sony vaio laptop with Ubuntu 20.04

Can you check if Apache is listening on 80 and 443?
try something like:
netstat -pant | grep -i listen

You again seem to have dodged the direct question:
Is the router configured to allow port 80 and port 443 to reach your Sony Vaio laptop IP?


Looks only tcp6 is listening . Or I am wrong ?

OK so the Sony Vaio is configured properly.
Let’s get back to the router.

TCP6 :::443 will cover both IPv4 and IPv6

Can we talk about the router?

I don’t know what to answer to you on this .
I have open the ports on my router

Hard to read…
But is that the same way port 80 is configured?
Do they look identical (except 443 where 80)?