JKS (Java KeyStore) is the certificate format used by Java and Ktor.
You can use keytool
to convert and manage these kind of certificates.
keytool -import -v -trustcacerts -alias keyAlias -file server.cer -keystore cacerts.jks -keypass changeit
You can check the SSL guide for more details.