Created
January 23, 2022 13:56
-
-
Save minetaro12/162be76867a84004f25bb2633f0d0575 to your computer and use it in GitHub Desktop.
自己証明書作成スクリプト
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
#!/bin/bash | |
openssl genrsa -out server.key 2048 | |
openssl req -new -key server.key -out server.csr | |
openssl x509 -days 3650 -req -signkey server.key -in server.csr -out server.crt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment