1
我不完全瞭解需要在jetty-ssl.xml文件中設置以啓用SSL的密碼。我創建使用keytool自簽名證書,並在過程中,我不得不進入兩個密碼只,即關鍵通過和Storepass用於,這海事組織KeyStorePassword和TrustStorePassword分別對應。也就是說,這留下了一個密碼KeyManagerPassword這還不清楚,我應該在哪裏設置它在這個過程中。Jetty SSL密碼
<Configure id="sslContextFactory" class="org.eclipse.jetty.util.ssl.SslContextFactory">
<Set name="KeyStorePath">
<Property name="jetty.base" default="." />/
<Property name="jetty.keystore" default="etc/keystore" />
</Set>
<Set name="KeyStorePassword">
<Property name="jetty.keystore.password" default="OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4" />
</Set>
<Set name="KeyManagerPassword">
<Property name="jetty.keymanager.password" default="OBF:1u2u1wml1z7s1z7a1wnl1u2g" />
</Set>
<Set name="TrustStorePath">
<Property name="jetty.base" default="." />/
<Property name="jetty.truststore" default="etc/keystore" />
</Set>
<Set name="TrustStorePassword">
<Property name="jetty.truststore.password" default="OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4" />
</Set>
</Configure>