Installing SSL Certificate for Website on Linux & Windows: Difference between revisions

no edit summary
(Created page with "Installing SSL Certificate for Website on Linux & Windows -------------------------------------------------------- For Linux Connect to server Go to below path • cd /etc/n...")
 
No edit summary
Line 5: Line 5:


Connect to server
Connect to server
Go to below path
Go to below path
• cd /etc/nginx/sites-enabled
• cd /etc/nginx/sites-enabled


Run below command there
Run below command there
• certbot certonly - - nginx
• certbot certonly - - nginx


Line 22: Line 25:


It will generate certificate, we can see the generated certificate at below path
It will generate certificate, we can see the generated certificate at below path
• cd /etc/letsencrypt/live
• cd /etc/letsencrypt/live


Anonymous user