Skip to content

Instantly share code, notes, and snippets.

@IvanTorresEdge
Created April 21, 2012 22:54
Show Gist options
  • Save IvanTorresEdge/2440120 to your computer and use it in GitHub Desktop.
Save IvanTorresEdge/2440120 to your computer and use it in GitHub Desktop.
Convert SAT Certificates from DER to PEM
# convert private key to PEM (removing password)
openssl pkcs8 -inform DER -in FOC080926i89_1104071356s.key -outform PEM -out FOC080926i89_1104071356s.pem
# extract public key
openssl rsa -in FOC080926i89_1104071356s.pem -pubout -out FOC080926i89_1104071356s.pub.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment