There was an error while loading. Please reload this page.
To generate a certificate with RSA key:
$ keytool \ -genkeypair \ -keystore keystore.p12 \ -storetype pkcs12 \ -storepass Secret.123 \ -alias ca_signing \ -dname "CN=CA Signing Certificate" \ -ext BasicConstraints=ca:true \ -ext KeyUsage=digitalSignature,nonRepudiation,keyCertSign,cRLSign \ -keyalg RSA \ -keypass Secret.123
To generate a certificate with ECC key:
$ keytool \ -genkeypair \ -keystore keystore.p12 \ -storetype pkcs12 \ -storepass Secret.123 \ -alias ca_signing \ -dname "CN=CA Signing Certificate" \ -ext BasicConstraints=ca:true \ -ext KeyUsage=digitalSignature,nonRepudiation,keyCertSign,cRLSign \ -keyalg EC \ -keypass Secret.123
Generating CA Signing Certificate
The keytool Command
Introduction
Quick Start
Installation Guide
User Guide
Programming Guide
Development Guide