Created
October 6, 2018 19:20
-
-
Save manishjaingit/ada225b27dcca4fb037cf429962d85cd to your computer and use it in GitHub Desktop.
setup lets encrypt in Ubuntu 16.04 on apache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### To apply ssl certificate free via lets encrypt in apache ### | |
sudo add-apt-repository ppa:certbot/certbot | |
sudo apt-get update | |
sudo apt-get install python-certbot-apache | |
sudo certbot --apache -d lifeconnect.app | |
sudo certbot --apache -d lifeconnect.app -d www.lifeconnect.app | |
sudo certbot renew --dry-run |
you generally gets this files from comodo or ssl seller.
AddTrustExternalCARoot.crt
SectigoRSADomainValidationSecureServerCA.crt
STAR_domainname_org.crt
USERTrustRSAAddTrustCA.crt
and for generating ca-bundle file
AddTrustExternalCARoot.crt>>USERTrustRSAAddTrustCA.crt>>SectigoRSADomainValidationSecureServerCA.crt
You can check this link
https://support.comodo.com/index.php?/Knowledgebase/Article/View/1145/1/how-do-i-make-my-own-bundle-file-from-crt-files
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
and for apache if you are generating csr
by
sudo openssl req -new -newkey rsa:2048 -nodes -keyout *.domain.com.key -out *.domain.com.csr
so on common name: you should write *.domain.com