Can we configure librdkafka and confluet-kafka-go to use jks files
No, JKS is a Java-specific format. See Converting a Java Keystore into PEM Format for how to extract certificates in PEM format from a JKS.