Skip to content

Commit

Permalink
change self signed script cert days flag to 825
Browse files Browse the repository at this point in the history
  • Loading branch information
dakshshah96 committed Mar 6, 2020
1 parent 41993ac commit 517b3af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion createSelfSigned.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
openssl req -new -sha256 -nodes -out server.csr -newkey rsa:2048 -keyout server.key -config server.csr.cnf
openssl x509 -req -in server.csr -CA rootCA.pem -CAkey rootCA.key -CAcreateserial -out server.crt -days 500 -sha256 -extfile v3.ext
openssl x509 -req -in server.csr -CA rootCA.pem -CAkey rootCA.key -CAcreateserial -out server.crt -days 825 -sha256 -extfile v3.ext

0 comments on commit 517b3af

Please sign in to comment.