To configure PKCS12 type keyStore or trustStore in jetty, you need to modify jetty.xml file present inside \AdeptiaServer\ServerKernel\etc\jetty folder. In jetty.xml, you have to define keyStore/trustStore type for sslContextFactory. Please refer the below example more details:
<New id="sslContextFactory" class="org.eclipse.jetty.http.ssl.SslContextFactory">
<Set name="KeyStore"><Property name="jetty.home" default="." />/etc/jetty/SSL_Keystore.jks</Set>
<Set name="KeyStorePassword">password</Set>
<Set name="KeyManagerPassword">password</Set>
<Set name="KeyStoreType">pkcs12</Set>
<Set name="trustStore"><Property name="jetty.home" default="." />/etc/jetty/SSL_Keystore.jks</Set>
<Set name="trustStorePassword">password</Set>
<Set name="TrustStoreType">pkcs12</Set>
</New>
Comments
0 comments
Article is closed for comments.