Truststore.jks for ssl

Hi Team,

Please let us know if we can use jks format key for ssl connection or only .pem file ?
We have received jks format file from upstream kafka application. Now we have to connect to source kafka using same jks format file.

Also please let us know if all the below parameters are mandatory for ssl…

CONFIG '{"security.protocol": "ssl",
"ssl.certificate.location": "/var/private/ssl/client_memsql_client.pem",
"ssl.key.location": "/var/private/ssl/client_memsql_client.key",
"ssl.ca.location": "/var/private/ssl/ca-cert.pem"}'
CREDENTIALS '{"ssl.key.password": "abcdefgh"}'

Regards,
Sharath