Sfoglia il codice sorgente

Explicitly use SHA256 for openssl (not SHA1)

Sven Neuhaus 9 anni fa
parent
commit
41c9779eb9
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      README.md

+ 2
- 2
README.md Vedi File

@@ -65,7 +65,7 @@ Installation
65 65
 
66 66
 Generate a private key and a certificate signing request (CSR):
67 67
 
68
-    openssl req -nodes -newkey rsa:2048 -keyout roles/common/files/wildcard_private.key -out mycert.csr
68
+    openssl req -nodes -newkey rsa:2048 -keyout roles/common/files/wildcard_private.key -sha256 -out mycert.csr
69 69
 
70 70
 Purchase a wildcard cert from a certificate authority, such as [Positive SSL](https://positivessl.com) or [AlphaSSL](https://www.alphassl.com). You will provide them with the contents of your CSR, and in return they will give you your signed public certificate. Place the certificate in `roles/common/files/wildcard_public_cert.crt`.
71 71
 
@@ -81,7 +81,7 @@ Purchasing SSL certs, and wildcard certs specifically, can be a significant fina
81 81
 
82 82
 To create a self-signed SSL cert, run the following commands:
83 83
 
84
-    openssl req -nodes -newkey rsa:2048 -keyout roles/common/files/wildcard_private.key -out mycert.csr
84
+    openssl req -nodes -newkey rsa:2048 -keyout roles/common/files/wildcard_private.key -sha256 -out mycert.csr
85 85
     openssl x509 -req -days 365 -in mycert.csr -signkey roles/common/files/wildcard_private.key -out roles/common/files/wildcard_public_cert.crt
86 86
     cp roles/common/files/wildcard_public_cert.crt roles/common/files/wildcard_ca.pem
87 87
 

Loading…
Annulla
Salva