Programmatically Configure SSL for Jetty 9 embedded

前端 未结 3 1308
时光说笑
时光说笑 2020-12-01 01:30

I\'m using jetty version 9.0.0.M4 and am trying to configure it to accept SSL connections. following the instructions in: http://www.eclipse.org/jetty/documentation/current/

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-01 02:00

    For Jetty 9 there is a good reference here and all you need to do is to create the JKS keystore file as explained here. using the command keytool -genkey -alias sitename -keyalg RSA -keystore keystore.jks -keysize 2048. For some reason what works with jetty 8 is not what works on 9.

提交回复
热议问题