Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks | - |
Not Applicable | - |
Description:
Using keytool to import a certificate into a keystore file. But while using keytool in BW, the following error is thrown:
The solution is to convert the existing certificate and key into a PKCS12 file. Then use the keytool functionality to merge one keystore with another one.
keytool –importkeystore -deststorepass changeit -destkeypass changeit -destkeystore my-keystore.jks -srckeystore cert-and-key.p12 -srcstoretype PKCS12 -srcstorepass cert-and-key-password -alias some-alias