Skip to content

Commit

Permalink
Certificate for a website was generated as SHA-1 instead of SHA-256. …
Browse files Browse the repository at this point in the history
…This fix ensure, that correct certificate is generated every time. (#845)
  • Loading branch information
mejta authored and svpernova09 committed Apr 24, 2018
1 parent 82d4971 commit b9e025d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/create-certificate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ then
-key "$PATH_KEY" \
-new -sha256 -out "$PATH_CSR" 2>/dev/null
openssl x509 -req -extfile "$PATH_CNF" \
-extensions server_cert -days 365 \
-extensions server_cert -days 365 -sha256 \
-in "$PATH_CSR" \
-CA "$PATH_ROOT_CRT" -CAkey "$PATH_ROOT_KEY" -CAcreateserial \
-out "$PATH_CRT" 2>/dev/null
Expand Down

0 comments on commit b9e025d

Please sign in to comment.