天天看點

WAS Server 啟動報錯無法找到秘鑰解決辦法

報錯日志:

[7/18/17 18:04:24:582 CST] 0000000a ORBRas        E com.ibm.ws.orbimpl.transport.WSTransport createServerSocket P=254162:O=0:CT ORBX0390E: Cannot create listener thread. Exception=[ org.omg.CORBA.INTERNAL: CAUGHT_EXCEPTION_WHILE_CONFIGURING_SSL_SERVER_SOCKET, Exception=com.ibm.websphere.ssl.SSLException: java.lang.IllegalArgumentException: CWPKI0024E: The certificate alias "citic01" specified by the property com.ibm.ssl.keyStoreServerAlias is not found in KeyStore "/wasprofiles/uat01/config/cells/cell/nodes/uat01node/key.p12".  vmcid: 0x49421000  minor code: 77  completed: No - received while attempting to open server socket on port 10209 ].

解決方法:注釋security檔案中的相關内容

<!--

  <sslConfigGroups xmi:id="SSLConfigGroup_1235457440425" name="uat01node" direction="outbound" certificateAlias="" sslConfig="SSLConfig_1204681943812" managementScope="ManagementScope_1204681943812"/>

-->

  <sslConfigGroups xmi:id="SSLConfigGroup_1237875827088" name="uat01node" direction="inbound" certificateAlias="" sslConfig="SSLConfig_1204681943812" managementScope="ManagementScope_1204681943812"/>

  <repertoire xmi:id="SSLConfig_1204681943812" alias="NodeDefaultSSLSettings" managementScope="ManagementScope_1204681943812">

    <setting xmi:id="SecureSocketLayer_1204681943812" clientKeyAlias="citic01" serverKeyAlias="citic01" clientAuthentication="false" securityLevel="HIGH" enabledCiphers="" jsseProvider="IBMJSSE2" sslProtocol="SSL_TLS" keyStore="KeyStore_1204681943812" trustStore="KeyStore_2" trustManager="TrustManager_1204681943812" keyManager="KeyManager_1204681943812">

      <properties xmi:id="Property_1237870287816" name="600" value=""/>

    </setting>

  </repertoire>

     本文轉自1321385590 51CTO部落格,原文連結:http://blog.51cto.com/linux10000/1949160,如需轉載請自行聯系原作者

繼續閱讀