How to merge two jssecacerts files? - Merge key store files
If your application is already configured with key store, and you are requested to add another domain to your key store,
then you need to generate jssecacerts for your domain and merge it with existing jssecacerts file. In the
previous example we have given
details about how to generate key store (jssecacerts) for any domain.
Here is the command to merge two key stores:
keytool -importkeystore -srckeystore jssecacerts_tmp -destkeystore jssecacerts
|
The above command requires key store password, by default the password is "changeit". It will prompt for merge confirmation
many times. If you want to avoid prompting and merge without any confirmation, use below command which doesnot ask any confirmation:
keytool -importkeystore -noprompt -srckeystore jssecacerts_tmp -destkeystore jssecacerts
|
|