Https not working after trying to install SSL Cert

Posted July 29, 2014 6.6k views

I followed the tutorial on installing an SSL Cert on Nginx (

However when I try to access my, nothing loads up. Anyone know what I did wrong?

I can provide more details if need be.

1 comment

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

Do you have any firewalling set up on your server? If so, you need to remember to open port 443. Your web server listens for https connections on that port. What’s the output of the following commands:

sudo iptables -L
sudo netstat -plunt
  • sudo iptables -L
    Chain INPUT (policy ACCEPT)
    target prot opt source destination

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    sudo netstat -plunt
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0* LISTEN 807/sshd
    tcp 0 0* LISTEN 931/mysqld
    tcp 0 0* LISTEN 2458/nginx
    tcp6 0 0 :::22 :::* LISTEN 807/sshd
    tcp6 0 0 :::80 :::* LISTEN 2458/nginx

  • It doesn’t look like nginx is listening on port 443. Have you restarted nginx after modifying its configuration?

    sudo service nginx restart

    Make sure the new virtualhost exists in /etc/nginx/sites-enabled.

Yeah I restarted it. I also made a new virtual host, still no luck.