Certificates - Extract Key from .pem file

openssl pkey -in foo.pem -out foo-key.pem