Skip to content

Instantly share code, notes, and snippets.

@sprobejames
Created September 24, 2024 03:21
Show Gist options
  • Select an option

  • Save sprobejames/b036baf5b700af9701156529ec802291 to your computer and use it in GitHub Desktop.

Select an option

Save sprobejames/b036baf5b700af9701156529ec802291 to your computer and use it in GitHub Desktop.
Generate command for CSR. see UI https://www.digicert.com/easy-csr/openssl.htm
#!/bin/bash
openssl req -new -newkey rsa:2048 -nodes -out example_com.csr -keyout example_com.key -subj "/C=US/ST=California/L=Los Angeles/O=My Company Name/OU=IT/CN=example.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment