"C:\Users\Raju\.jdks\openjdk-19.0.2\bin\keytool.exe" -genkeypair -alias ismailraju -keyalg RSA -keysize 2048 -storetype PKCS12 -keystore ismailraju.p12 -validity 3650
keytool -genkeypair -alias baeldung -keyalg RSA -keysize 2048 -keystore baeldung.jks -validity 3650
keytool -importkeystore -srckeystore ismailraju.jks -destkeystore ismailraju.p12 -deststoretype pkcs12
"C:\Users\Raju\.jdks\openjdk-19.0.2\bin\keytool.exe" -keystore ismailraju.p12 -storetype pkcs12 -exportcert -file ismailraju.crt -rfc -alias ismailraju
openssl pkcs12 -in ismailraju.p12 -nodes -nocerts -out key.pem
openssl pkcs12 -in ismailraju.p12 -nokeys -out cert.pem
curl --cacert ismailraju.crt -v https://localhost:8443/welcome