Tag: openssl
-
How to see all certificates that web server sends
It can be done using openssl:openssl s_client -connect SERVER:PORT -showcerts
-
Creating certificate request with OpenSSL
It can be done like thisopenssl req -new -newkey rsa:2048 -nodes -keyout certificate.key -out certificate.csr Printing Certificate Signing Request To print request use:openssl req -in certificate.csr -text
-
Extracting private key and certificate from pfx file
To extract private key: To extract certificate: To do the opposite openssl pkcs12 -export -in certificate.crt -inkey certificate.key -out certificate.pfx