Skip to content

Instantly share code, notes, and snippets.

@minetaro12
Created January 23, 2022 13:56
Show Gist options
  • Save minetaro12/162be76867a84004f25bb2633f0d0575 to your computer and use it in GitHub Desktop.
Save minetaro12/162be76867a84004f25bb2633f0d0575 to your computer and use it in GitHub Desktop.
自己証明書作成スクリプト
#!/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