Certificates

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

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

SSL

You can check the SSL guide for more details.