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. https://crt.sh/?q=htcertify.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My web server is (include version): Nginx, Ubuntu 18
The operating system my web server runs on is (include version): Ubuntu
My hosting provider, if applicable, is: AWS
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): No
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):
N.T: I have successfully installed SSL, but when I put only domain name (htcertify.com), it showing error. Also if I give www.htcertify.com, its showing the same issue (ERR_CONNECTION_TIMED_OUT). Only if I put https://htcertify.com, then my site is appearing. I know I made some mistakes but can identify that. Please help me.
Check your EC2 security group. You need to have TCP port 80 open, as well as 443. If it’s not your security group, check whether it’s a firewall on the Ubuntu server (i.e. ufw status).
Once that is fixed, you’ll also want to re-issue your certificate in order to also include the ‘www’ subdomain on it.
I have still doubt that my nginx server is listening 80 or not. Actually i’m new in ubuntu. I have executed ur command that you gave me. the result is: