Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove sample.pem and use sha256 to generate the sample certificate
- Loading branch information
1 parent
07e92bc
commit 6626c12
Showing
3 changed files
with
3 additions
and
35 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
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,4 +1,3 @@ | ||
#!/bin/sh | ||
openssl genrsa 1024 > sample.key | ||
openssl req -new -x509 -nodes -sha1 -days 3650 -key sample.key > sample.crt | ||
cat sample.crt sample.key > sample.pem | ||
openssl req -new -x509 -nodes -sha256 -days 3650 -key sample.key > sample.crt |
This file was deleted.
Oops, something went wrong.