Ssl nginx configuration

@Inderpreet
I hope this time you’re gonna answer me . Can you tell me what I have done wrong ?
Please see below all the screenshots related to the nginx ssl tasks nginx_ssl1

did you try curl https://172.16.238.12?

@elsebasan
Yes , I did it before .

Hi @bagam_fleury

I think you missed this point of task:

ssl

Also since its a self signed certificate you should have tested it using curl like this

curl -Ik https://172.16.238.12

Which is also mentioned in the question.

@Inderpreet
I did created it and you can find it attached in the Screenshot I provided .

Because I see you config file and all lines for https is commet with '#

@bagam_fleury

Please also note the ! exclamation sign with Welcome. As its mentioned in the question so its also really important.

@bagam_fleury… I installed nginx…and moved key and cert to /et/ssl/…and the i tried to open index.html by sudo vi /usr/share/nginx/html/index.html…But it was blank…So should it already contain the code of html or it should be blank and we have write the code?..Also after pasting the code in that file it was giving error…

you have to remove soft link and create index.html

cd /usr/share/nginx
stat index.html

rm index.html
vi index.html

add simple html content