SSL Certifiacte
0
Earlier we have Lets Encrypt SSL. We have purchased a new 1 year ssl for our site. Now nobody able to figure out, how to remove lets encrypt and replace with new alpha SSL.
Tags
asked 2 months ago21 views
1 Answers
0
Hello
When you create Lets encrypt Certificate from the Web servers Ngnix/Apache it will update the configuration files for the Website you have for example **some-website.conf **file, So how to update the Certificate inside the Webserver configuration, I do not have information about the Nginx or Apache but you have the information below, Apache SSL Configuration:
- Copy the SSL Certificate to the server including the private key
- Check the Configuration file of your website and update the configuration as below
<VirtualHost 192.168.0.1:443>
DocumentRoot /var/www/html2
ServerName www.yourdomain.com
SSLEngine on
SSLCertificateFile /path/to/your_domain_name.crt
SSLCertificateKeyFile /path/to/your_private.key
SSLCertificateChainFile /path/to/DigiCertCA.crt
</VirtualHost>
- Once done save the file and run a command
apachectl configtest
to check your configuration is correct. - then restart
service apache2 restart
`
server {
listen 443;
ssl on;
ssl_certificate /etc/ssl/ssl-bundle.crt;
ssl_certificate_key /path/to/your_private.key;
root /path/to/webroot;
server_name your_domain.com;
}
access_log /var/log/nginx/nginx.vhost.access.log;
error_log /var/log/nginx/nginx.vhost.error.log;
location / {
root /var/www/;
root /home/www/public_html/your.domain.com/public/;
index index.html;
}
}
`
answered a month ago
Relevant questions
If SSL Certificate is installed via Let's Encrypt with Bitnami, are other SSL Plugin (like Really Simple SSL) necessary?
asked 6 months agoSSL certificate not valid on EC2
asked 4 years agoRenew SSL Lets Encrypt txt not verifying
asked 5 months agoComodo SSL Cert onto a Lightsail Instance of Wordpress
asked 3 years agoProblem during update to new SSL/TLS certificates "rds-ca-2019"
Accepted Answerasked 3 years agoPlesk Lets Encrypt Certificate Auto Renewal
asked 2 years agoLightsail SSL Installation not being successful, and could not make the code work 'sudo /opt/bitnami/ctlscript.sh start' any help is appreciated.
asked 5 months agoSSL Certifiacte
asked 2 months agoHow do i do free SSL for lightsail hosting in aws certification manager
asked 6 months ago2-way SSL with IIS behind ELB
Accepted Answerasked 6 years ago