Skip to content

Instantly share code, notes, and snippets.

@jkeam
Created December 23, 2022 04:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkeam/80586bdc36867c6200b262b9871b8906 to your computer and use it in GitHub Desktop.
Save jkeam/80586bdc36867c6200b262b9871b8906 to your computer and use it in GitHub Desktop.
Generate CSR
#!/bin/bash
openssl genrsa -des3 -out server.pass.key 2048
openssl rsa -in server.pass.key -out server.key
openssl req -nodes -new -key server.key -out server.csr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment