添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
22-Jan-2018 22:48:34.738 SEVERE [main] org.apache.coyote.AbstractProtocol.init Failed to initialize end point associated with ProtocolHandler ["http-nio-8443"]
 java.io.IOException: Invalid keystore format
        at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:658)
        at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:56)
        at sun.security.provider.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:224)
        at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(JavaKeyStore.java:70)
        at java.security.KeyStore.load(KeyStore.java:1445)

Causes

  1. The keystore file has a proprietary format
  2. The property keystoreFile is not pointing to the correct file.

Resolution

  1. Make sure you create the keystore file is created as described in Securing Bamboo with Tomcat using SSL
  2. Set the keystoreFile connector property (at <Bamboo_Install>/conf/server.xml) as specified below:

maxThreads="150" minSpareThreads="25" connectionTimeout="20000" disableUploadTimeout="true" acceptCount="100" enableLookups="false" maxHttpHeaderSize="8192" useBodyEncodingForURI="true" URIEncoding="UTF-8" keystoreFile="<NEW_KEYSTORE_PATH>/.keystore" scheme="https" secure="true" SSLEnabled="true" sslProtocol="TLS" clientAuth="false"