was not loading after installing https

I was making https using the letsencrypt service.
It was not loading after the certificate being installed. The site is deployed in Amazon AWS.
I got the problem solved. Here is what I did. 
I observed in the modified conf file the port number. It was 443.
So I added an inbound rule in Security Group for HTTPS, port 443.
Thank God.