...
Warning |
---|
generate-ssl-certs.bat must be run from the bin directory. If you run from another directory, it appears to work but will not write all the certificate files (in fact it write the key files only) |
Code Block |
---|
language | text |
---|
theme | FadeToGrey |
---|
|
generate-ssl-certs.bat --generate aspire-cert 123456
Location: C:\Users\test\Desktop
Generating CA
Generating Server Certificate
Generating Client Certificate
|
Importing the Certificate into the Keystore
You can generate a keystore for the client certificate and a truststore for the CA certificate
Keystore
Code Block |
---|
language | text |
---|
theme | FadeToGrey |
---|
|
keytool -v -importkeystore -srckeystore client/client.p12 -srcstoretype PKCS12 -destkeystore myKeystore.jks -deststoretype JKS |
Truststore
Code Block |
---|
language | text |
---|
theme | FadeToGrey |
---|
|
keytool -import -file ca/ca.crt -keystore myKeystore.jks
|
...