Setup SSL for Nginx Kodekloud

 

 
 Question:
 
 

Solution:

Login to app server mentioned in question

ssh steve@stapp02

Then install nginx

yum install epel-release
yum install nginx
 
Now change the servername in nginx conf file
 
 
Then edit the config file to add  server, certificates and key path for ssl . uncomment config by deleting #
 
 

Then copy the certificates and key


Then restart and check status of nginx



Create an index.html in /usr/share/nginx/html folder
 
Check server from jump host
 
 


Download Coding Interview Book and Get More Tutorials for Coding and Interview Solution: Click Here

Download System Design Interview Book and Get More Tutorials and Interview Solution: Click Here

Do you need more Guidance or Help? Then Book 1:1 Quick Call with Me: Click Here

Share on Google Plus

About Ashadullah Shawon

I am Ashadullah Shawon. I am a Software Engineer. I studied Computer Science and Engineering (CSE) at RUET. I Like To Share Knowledge. Learn More: Click Here
    Blogger Comment
    Facebook Comment

3 comments:

  1. what do we uncomment in the config, it is not working for me

    ReplyDelete
  2. Can you post a video of the steps in accomplishing this task pls? I followed all the steps but the task still failed. Thank you

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete