Endevor WS:ZOsSSLSocketFactory.alias_no_key_entry
search cancel

Endevor WS:ZOsSSLSocketFactory.alias_no_key_entry

book

Article ID: 274582

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Endevor Web Services SSL is enabled using keyring. 

Found following error in the Tomcat log after issuing Endevor REST API list ENV request:  

SEVERE: Failed to initialize component [Connector[HTTP/1.1-XXXX]]
 org.apache.catalina.LifecycleException: Protocol handler initialization failed
     at org.apache.catalina.connector.Connector.initInternal(Connector.java:1014)
     at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
     at org.apache.catalina.core.StandardService.initInternal(StandardService.java:549)
     at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
     at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:1028)
     at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
     at org.apache.catalina.startup.Catalina.load(Catalina.java:724)
     at org.apache.catalina.startup.Catalina.load(Catalina.java:746)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
     at java.lang.reflect.Method.invoke(Method.java:508)
     at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:307)
     at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:477)
 Caused by: java.lang.IllegalArgumentException: ZOsSSLSocketFactory.alias_no_key_entry

Environment

Release : 19.0

Resolution

Use LIST keyring command verify/dispay that a server certificate is connected to the keyring (specified in the server.xml connector statement) with the USAGE=PERSONAL.

Add certificate label/alias into the Connector statement in the server.xml file:

keyAlias="certificate_label"