Skip to content

Instantly share code, notes, and snippets.

@ajaidanial
Forked from csamsel/convert-ssl.sh
Created April 19, 2021 10:06
Show Gist options
  • Save ajaidanial/f03571954534e3e505d37ff9faa1a022 to your computer and use it in GitHub Desktop.
Save ajaidanial/f03571954534e3e505d37ff9faa1a022 to your computer and use it in GitHub Desktop.

Revisions

  1. @csamsel 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 csamsel revised this gist Mar 14, 2018. No changes.
  3. @csamsel 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 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