I am Trying to configure SSL and got the .pfx file from server team. The Certificate chain length: 2
When i am trying to export the certificate chain using keytool, only
keytool -list -rfc -keystore serverauth.jks
This will output all the certs in a single stream. If you wanted to split them into separate files, you'd have more work to do.