Creating a Elliptical Curve Cartography (ECC) Self-Signed Certificate (Testing) w/ JCEKS Keystore

Elliptical Curve Cartography (ECC) Self Signed Certificate (Testing) w/ JCEKS Keystore

Here is how to create Self Signed (Testing) Certificate

 keytool -genkeypair -keysize 521 -sigalg SHA512withECDSA -keyalg EC -alias serverkey -keypass changeit -validity 365 -dname "CN=TESTING,OU=IT,O=Mega,L=Planet,ST=CO,C=US" -storetype jceks -keystore this.keystore -storepass changeit -ext san=dns:server.example.com,dns:server,ip:10.10.10.10,ip:::1 

Check the keys and keystore creation

 keytool -list -v -keystore this.keystore -storetype jceks -storepass changeit 

Export the Self Signed (Testing) Certificate.

 keytool -exportcert -alias serverkey -file TESTCert.pem -storetype jceks -keystore this.keystore -storepass changeit -rfc 

Check Self Signed (Testing) Certificate.

 keytool -printcert -v -file TESTCert.pem