Data Integration Connectors
- Data Integration Connectors
- All Products
$ openssl pkcs12 -export -in <CERTIFICATE.pem> -inkey <PRIVATE_KEY.pem> -out keystore_bundle.p12 -name <KEYSTORE_ALIAS> -CAfile <CERTIFICATE.pem> -caname root
Arguments
| Description
|
---|---|
CERTIFICATE.pem
| The public certificate.
|
PRIVATE_KEY.pem
| The private key.
|
keystore_bundle.p12
| The generated pkcs12 formatted file.
|
KEYSTORE_ALIAS
| The alias of your public certificate in the pkcs12 bundle.
|
$ keytool -importkeystore -deststorepass <KEYSTORE-PASSWORD> -destkeystore my_keystore.jks -srckeystore keystore_bundle.p12 -srcstoretype PKCS12
Arguments
| Description
|
---|---|
my_keystore.jks
| The generated Java KeyStore file.
|
keystore_bundle.p12
| The pkcs12 bundle.
|