Is there an openSSL command to remove the private key from a X.509 certificate (*.pem file)?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Typically private key is separate *.pem file – that’s the whole point of public vs private keys, they must be separate.
Sometimes for convenience people concatenate private key and certificate *.pem files into one file, which allows server side programs like apache to parse it to find both. But this is not very common, and if it is, you can use any text editor to look at it and edit it.