Ask Your Question

How can I extract the SSL key from a Certificate Chain?

asked 2023-04-05 10:13:30 +0000

qstack gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2023-04-05 10:15:00 +0000

qstack gravatar image

This command extracts the private key from the certificate and private key file, which are combined in a PEM file, and writes the key to a separate file in the appropriate format for use with Nginx:

openssl rsa -in /etc/ssl/ -out /etc/ssl/
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer

Question Tools

1 follower


Asked: 2023-04-05 10:13:30 +0000

Seen: 25 times

Last updated: Apr 05 '23