Last active
August 13, 2022 12:50
-
-
Save lugrus2000/9913e18592ed1c324bf5bc6c09c3275b to your computer and use it in GitHub Desktop.
未命名
This file contains hidden or 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
{"config":{"codeTheme":"OneDarkPro","pageThemeSyncCodeTheme":true,"openAlmightyConsole":false,"autoRun":false,"layout":"default","keepPreviousLogs":true,"codeFontSize":16},"title":"未命名","code":{"HTML":{"language":"html","content":""},"CSS":{"language":"css","content":"","resources":[]},"JS":{"language":"javascript","content":"","resources":[]},"VUE":{"language":"vue2","content":"","resources":[]}}} |
This file contains hidden or 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/sh | |
# Generate a private key | |
openssl genrsa -des3 -out server.key.org 1024 | |
# Generate a CSR: Certificate Signing Request | |
openssl req -new -key server.key.org -out server.csr | |
# Remove password from key | |
openssl rsa -in server.key.org -out server.key | |
# Generate a self-signed certificate | |
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment