Join Slack
Powered by
Hi, is it possible to use a format other than JKS ...
# ktor
w
wouterdoeland
10/12/2018, 2:28 PM
Hi, is it possible to use a format other than JKS for TLS/HTTPS in Ktor?
c
cy
10/12/2018, 2:30 PM
No, it isn't. Why do you need it? Isn't it easy to convert your keys/certificates?
cy
10/12/2018, 2:32 PM
Sorry, it's not exactly impossible, just not so easy todo
cy
10/12/2018, 2:33 PM
You can configure an embedded server's connector with custom keystore loaded via bouncycastle
cy
10/12/2018, 2:33 PM
https://www.bouncycastle.org/specifications.html
see section 6.4
cy
10/12/2018, 2:34 PM
To configure your connector see
http://ktor.io/servers/configuration.html#multiple-connectors
w
wouterdoeland
10/12/2018, 3:02 PM
Well it's not too easy to convert my certificates to JKS and I get a warning from keytool (from openjdk) that the format is proprietary. I don't really like the idea of using proprietary formats. Thank you for those resources!
Open in Slack
Previous
Next