Skip to content

Instantly share code, notes, and snippets.

@csamsel
Last active September 26, 2024 03:36
Show Gist options
  • Save csamsel/edb58d84363aa6c18be0f45be7908d34 to your computer and use it in GitHub Desktop.
Save csamsel/edb58d84363aa6c18be0f45be7908d34 to your computer and use it in GitHub Desktop.

Revisions

  1. csamsel revised this gist Mar 14, 2018. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion convert-ssl.sh
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,3 @@
    openssl rsa -outform der -in privkey.pem -out privkey.key
    openssl x509 -outform der -in fullchain.pem -out fullchain.crt
    openssl x509 -outform der -in fullchain.pem -out fullchain.crt
    openssl x509 -outform der -in cert.pem -out cert.crt
  2. csamsel revised this gist Mar 14, 2018. No changes.
  3. csamsel revised this gist Mar 14, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion convert-ssl.sh
    Original file line number Diff line number Diff line change
    @@ -1,2 +1,2 @@
    openssl rsa -outform der -in privkey.pem -out privkey.key
    openssl rsa -outform der -in fullchain.pem -out fullchain.crt
    openssl x509 -outform der -in fullchain.pem -out fullchain.crt
  4. csamsel created this gist Mar 14, 2018.
    2 changes: 2 additions & 0 deletions convert-ssl.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    openssl rsa -outform der -in privkey.pem -out privkey.key
    openssl rsa -outform der -in fullchain.pem -out fullchain.crt