Last active
January 18, 2016 13:09
-
-
Save dodopok/161ecec49cb6e0b334a7 to your computer and use it in GitHub Desktop.
Gerar SSL Apache
This file contains hidden or 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
para gerar o csr: | |
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /path/to/your_domain_name.key -out /path/to/your_domain_name.crt | |
alterar as seguintes linhas na config do nfservice.com.br para os novos arquivos | |
SSLCertificateFile /path/to/cert.crt /*certificado que veio da certificadora*/ | |
SSLCertificateKeyFile /path/to/your_domain_name.key /*key que voce gerou la em cima */ | |
SSLCertificateChainFile /path/to/DigiCertCA.crt /*crt que a certificadora manda, se renovar na mesma certificadora, nem precisa mudar*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment