KodeKloud Engineer Enabling SSL on Server

I am able to run a successful curl command to get the welcome response for nginx web page. Unable to get the same for 443. Here are the steps that I followed:

Install the epel-release repo
installed nginx
configured the nginx conf file with the server IP for 80 and 443. Changed the server.crt and server.key in the nginx file to nautulis.crt and nautilus.key.
I moved the nautilus key and cert from the tmp directory to /etc/pki/nginx/ directory and the key to the /etc/pki/nginx/private directory
start the nginx service
I uncommented the SSL options in the nginx.conf file. When I do this is fails to start nginx, when I don’t, I can curl to port 80
I went as far as to add firewalld and open 80 and 443. Even was looking into selinux which is off.
Not sure where to go from here, can anyone point me in the right direction.
Thanks

CT

Hi @cdt8496,

You can please mark your ticket to review and share the link here

Regard