Last active
July 10, 2023 16:24
-
-
Save ipedrazas/6d6c31144636d586dcc3 to your computer and use it in GitHub Desktop.
Revisions
-
ipedrazas revised this gist
May 27, 2017 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -19,6 +19,10 @@ We have to create a certificate with all the intermediate certs. # order is important! cat dotmarks_net.crt COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt > dotmarks.pem To avoid the error `peer certificate cannot be authenticated with given ca certificates`, remove the externalCA: cat dotmarks_net.crt COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt > dotmarks.pem Once we have this pem file, we can configure nginx: -
ipedrazas revised this gist
May 26, 2014 . No changes.There are no files selected for viewing
-
ipedrazas revised this gist
May 26, 2014 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -22,10 +22,10 @@ We have to create a certificate with all the intermediate certs. Once we have this pem file, we can configure nginx: ssl on; ssl_certificate /etc/nginx/ssl/dotmarks.net/dotmarks.pem; ssl_certificate_key /etc/nginx/ssl/dotmarks.net/dotmarks.net.key; Then you just have to restart nginx: -
ipedrazas revised this gist
May 26, 2014 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -16,12 +16,13 @@ After validation, you will get a zip file with 4 files: We have to create a certificate with all the intermediate certs. # order is important! cat dotmarks_net.crt COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt > dotmarks.pem Once we have this pem file, we can configure nginx: > ssl on; ssl_certificate /etc/nginx/ssl/dotmarks.net/dotmarks.pem; ssl_certificate_key /etc/nginx/ssl/dotmarks.net/dotmarks.net.key; -
ipedrazas revised this gist
May 26, 2014 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -16,13 +16,15 @@ After validation, you will get a zip file with 4 files: We have to create a certificate with all the intermediate certs. # order is important! cat dotmarks_net.crt COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt > dotmarks.pem Once we have this pem file, we can configure nginx: ssl on; ssl_certificate /etc/nginx/ssl/dotmarks.net/dotmarks.pem; ssl_certificate_key /etc/nginx/ssl/dotmarks.net/dotmarks.net.key; Then you just have to restart nginx: -
ipedrazas revised this gist
May 26, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -16,11 +16,11 @@ After validation, you will get a zip file with 4 files: We have to create a certificate with all the intermediate certs. cat dotmarks_net.crt COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt > dotmarks.pem Once we have this pem file, we can configure nginx: ssl on; ssl_certificate /etc/nginx/ssl/dotmarks.net/dotmarks.pem; ssl_certificate_key /etc/nginx/ssl/dotmarks.net/dotmarks.net.key; -
ipedrazas revised this gist
May 26, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ The process starts by creating the CSR and the private key: openssl req -nodes -newkey rsa:2048 -nodes -keyout dotmarks.net.key -out dotmarks.net.csr -subj "/C=GB/ST=London/L=London/O=dotmarks/OU=IT/CN=dotmarks.net" **Generates** -
ipedrazas renamed this gist
May 26, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
ipedrazas created this gist
May 26, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,31 @@ The process starts by creating the CSR and the private key: openssl req -nodes -newkey rsa:2048 -nodes -keyout dotmarks.net.key -out dotmarks.net.csr -subj "/C=GB/ST=London/L=London/O=dotmarks/OU=IT/CN=dotmarks.net" **Generates** * dotmarks.net.key * dotmarks.net.csr After validation, you will get a zip file with 4 files: * AddTrustExternalCARoot.crt * COMODORSAAddTrustCA.crt * COMODORSADomainValidationSecureServerCA.crt * dotmarks_net.crt We have to create a certificate with all the intermediate certs. cat dotmarks_net.crt COMODORSADomainValidationSecureServerCA.crt COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt > dotmarks.pem Once we have this pem file, we can configure nginx: ssl on; ssl_certificate /etc/nginx/ssl/dotmarks.net/dotmarks.pem; ssl_certificate_key /etc/nginx/ssl/dotmarks.net/dotmarks.net.key; Then you just have to restart nginx: sudo service nginx reload sudo service nginx restart