Openssl Commands : SSL Certificates

Important Openssl Commands : How to How to find OpenSSL version openssl version -a How to Create new Private Key and Certificate Signing Request openssl req -out javaperformance.csr -newkey rsa:2048 -nodes -keyout cgibell.key How to create a Self-Signed Certificate openssl req -x509 -sha256 -nodes -newkey rsa:2048 -keyout javaperformanceselfsigned.key -out javaperformancecert.pem How to verify CSR file … Continue reading Openssl Commands : SSL Certificates

Keytool Command/Utility to generate a keystore/certificate request(CSR)

How to generate a Keystore/CSR using keytool command/utility   Keytool Utility: Keytool is a key and certificate management JDK utility which helps in managing a keystore of private/public keys and associated certificates. It allows users to administer their own public/private key pairs and associated certificates for use in self-authentication (where the user authenticates himself/herself to … Continue reading Keytool Command/Utility to generate a keystore/certificate request(CSR)

How to generate a private key for a certificate(.jks/.crt) file – Unix/Linux

  To generate the Private key from the .jks file from linux/unix server. We can use keytool and openssl utility to generate the private key from a .crt/.jks file. Command to use: Go to the location where your certificate file is located. Using Keytool command generate keystore file keytool -v -importkeystore -srckeystore keystore.jks -srcalias keyalias … Continue reading How to generate a private key for a certificate(.jks/.crt) file – Unix/Linux