I would like to create a keystore file with a certificate and a chain.cer file.
# openssl pkcs12 -export -chain -CAfile chain.cer -in example.cer -inkey example.key -out keystore.jks -name tomcat -passout pass:changeit
Error unable to get issuer certificate getting chain.
Question
Does anyone know what I am doing wrong?