Estimated reading time: 1 minute

JKS file format

JKS (Java KeyStore) is the certificate format used by Java and Ktor.

You can use keytool to convert and manage these kind of certificates.

CER file format

keytool -import -v -trustcacerts -alias keyAlias -file server.cer -keystore cacerts.jks -keypass changeit


You can check the SSL guide for more details.