keytool importing multiple certificates in single file
java, ssl-certificate
Solution
If you want to include the CA certificates you should add the `-trustcacerts` option.
If you have multiple certificate chains in one PEM file you will have to split the file.
Problem
How to import multiple certificates in a single file with keytool [to cert store]? keytool -importcert only imports the first one.