Skip to content

Instantly share code, notes, and snippets.

@DoZator
Created October 12, 2022 08:30
Show Gist options
  • Save DoZator/b2000d17b829f10da77e022d8bc3fdd4 to your computer and use it in GitHub Desktop.
Save DoZator/b2000d17b829f10da77e022d8bc3fdd4 to your computer and use it in GitHub Desktop.
Generate CSR and key in Linux

Generate CSR and key in Linux

Run the following command to generate a CSR and key

$ sudo openssl req -new -newkey rsa:2048 -nodes -keyout domainname.com.key -out domainname.com.csr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment