I have a chain certs in .pem file. When I add the file to jks using jks.TrustedCertEntry.new it add only the first certificate ignoring all other.