-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
openssl genpkey -outform PEM -algorithm RSA -pkeyopt rsa_keygen_bits:2048 -out cert.key | ||
openssl req -new -nodes -key cert.key -config cert.conf -nameopt utf8 -utf8 -out global.csr | ||
openssl req -x509 -nodes -in cert.csr -days 365 -key global.key -config cert.conf -extensions req_ext -nameopt utf8 -utf8 -out cert.crt | ||
openssl req -new -nodes -key cert.key -config cert.conf -nameopt utf8 -utf8 -out cert.csr | ||
openssl req -x509 -nodes -in cert.csr -days 365 -key cert.key -config cert.conf -extensions req_ext -nameopt utf8 -utf8 -out cert.crt | ||
certutil -p "cert,cert" -mergepfx cert.crt cert.pfx | ||
pause |
This file contains 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
This file contains 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