Nginx letsencrypt certbot ssl page will not load over https but will load over http

I am trying to set up a digital ocean server using this tutorial

The site is served just fine over HTTP but will not load from https.
(will not load references this chrome error)

This site can’t be reached took too long to respond.

Checking the connection
Checking the proxy and the firewall

As advised I did check the firewall previous to posting but here is the output of my ufw. I do not have a firewall enabled on my digital ocean droplet web gui.

Nginx Full                 ALLOW       Anywhere                  
22                         ALLOW       *************             
22                         ALLOW       *************             
OpenSSH                    ALLOW       Anywhere                  
Nginx Full (v6)            ALLOW       Anywhere (v6)             
OpenSSH (v6)               ALLOW       Anywhere (v6)     
Here is the results of nmap from my local machine using the ip of my server...

nmap -Pn -p 443 IPADDRESS
Starting Nmap 7.70 ( ) at 2019-05-07 23:46 MDT
Nmap scan report for IPADDRESS
Host is up.

443/tcp filtered https

I am using Debian stretch rather than Ubuntu.


Looks like it was definitely a firewall issue.
I used this to reset my firewalls settings in iptables then set ufw up again and it is working.

First, set the default policies for each of the built-in chains to ACCEPT. The main reason to do this is to ensure that you won’t be locked out from your server via SSH:

$ sudo iptables -P INPUT ACCEPT
$ sudo iptables -P FORWARD ACCEPT
$ sudo iptables -P OUTPUT ACCEPT

Then flush the nat and mangle tables, flush all chains (-F), and delete all non-default chains (-X):

$ sudo iptables -t nat -F
$ sudo iptables -t mangle -F
$ sudo iptables -F
$ sudo iptables -X

Then re enable ufw

$ sudo ufw enable

Source : Link , Question Author : Baker Web Solutions , Answer Author : Baker Web Solutions

Leave a Comment