Skip to content

Instantly share code, notes, and snippets.

@koji
Last active July 19, 2020 05:51
Show Gist options
  • Save koji/aa7a8c917922b34ff1729708f9da7025 to your computer and use it in GitHub Desktop.
Save koji/aa7a8c917922b34ff1729708f9da7025 to your computer and use it in GitHub Desktop.
create .crt file
$ openssl genrsa 2048 > server.key
$ openssl req -new -key server.key > server.csr
$ openssl x509 -days 3650 -req -signkey server.key < server.csr > server.crt

ssl
server.key
server.csr
server.crt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment