177
edits
(Created page with "Website Hosting Login to Go Daddy account (https://dcc.godaddy.com/manage/apoyar.eu/dns) with corresponding domain Create DNS record • Type – A • Host – Project Na...") |
No edit summary |
||
| Line 53: | Line 53: | ||
• Redirect all | • Redirect all | ||
This way the certificate get installed | This way the certificate get installed | ||
Then check the website with secured one | Then check the website with the secured one | ||
With other option we can just generate certificate with below command, then we have to change only key file path in config file | With other option we can just generate certificate with below command, then we have to change only key file path in the config file | ||
• sudo certbot certonly --nginx | • sudo certbot certonly --nginx | ||
Example: Below two lines need to replace | |||
ssl_certificate /etc/letsencrypt/live/websitetesting.apoyar.eu/fullchain.pem; # managed by Certbot | |||
ssl_certificate_key /etc/letsencrypt/live/websitetesting.apoyar.eu/privkey.pem; # managed by Certbot | |||
Note: 1.If certificate not installing due to the domain mistake or domain not created in GoDaddy, Nginx configuration file mistake with a domain name. | |||
2.As well as after installation is done and still SSL is not secured then rerun it again to fix that. | |||