Skip to content

Instantly share code, notes, and snippets.

@DevOpsFu
Created July 16, 2017 20:25
Show Gist options
  • Save DevOpsFu/d488230576c06b339e3d97fb429ba24d to your computer and use it in GitHub Desktop.
Save DevOpsFu/d488230576c06b339e3d97fb429ba24d to your computer and use it in GitHub Desktop.
openssl req -x509 -new -key octopus.key -days 3650 -subj "/C=GB/ST=YourState/L=YourCity/O=Your Company/OU=Department/CN=${fqdn}" |
openssl pkcs12 -export -inkey octopus.key -passout pass: |
openssl base64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment