Page Not Accessible after Installing letsencrypt with Certbot

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:

It produced this output:
Congratulations! You have successfully enabled

You should test your configuration at:

My web server is (include version):
nginx/bionic-updates,bionic-security,now 1.14.0-0ubuntu1.7 all [installed]

The operating system my web server runs on is (include version):
Ubuntu 18.04 (5.4.0-1025-oracle)

My hosting provider, if applicable, is:
Oracle Cloud

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):
certbot 0.31.0

P.S. I have tried helping myself but I am stuck. If it helps I have already run a scan at:
but I don't know how to interpret what I am seeing.

Most likely you need to open port 443 (TCP) on your firewall.

HTTPS runs on a different port to HTTP, so when you enable it, you need to make sure to allow traffic on the new port.

1 Like

Thanks @_az. ufw status shows HTTPS FULL so http and https should be ok. Even with that set I did have to still specifically allow port 80 with:

sudo iptables -I INPUT 6 -m state --state NEW -p tcp --dport 80 -j ACCEPT sudo netfilter-persistent save

Should I do this for 443?

1 Like

It's worth a try. Maybe run it without the save first and see whether it makes any difference.

At the moment, connections to 443 are being rejected:

$ nc -v 443
nc: connect to port 443 (tcp) failed: No route to host

@_az Thank you so much! A+ from ssllabs! I have been battling with this all weekend. Thanks again. I have been going between different guides trying to get my web app up, then get nginx to proxy it and finally to letsencrypt it. None of them mentioned that even with ufw disabled you still need to explicitly allow ports 80 and 443, or at least that's how it is for Ubuntu 18.04 on Oracle Always Free Tier. A new check with shows grade E though. Should I be concerned?

1 Like

I think the Grade E is complaining about the fact that redirects to rather than keeping the www.

One might argue this is a matter of taste - your SSL setup seems good.

I don't think that's normal. It's definitely a peculiarity of whatever you have installed on your OS (or what Oracle ships in their VM images).

@_az I will ignore it and go with the A+. Thanks again.

@_az I was even beginning to think they were blocking port 80 from external requests but when I googled I found someone that mentioned port 80 might need to be explicitly opened, but even then it didn't dawn on me that I needed to open 443 too. Well I learned in my failure so I guess it balances out. I just hope anybody using Oracle's Always Free Tier and having this issue will find the solution.


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