https://bz.apache.org/bugzilla/show_bug.cgi?id=59910

            Bug ID: 59910
           Summary: certificateKeyAlias required to be set
           Product: Tomcat 8
           Version: 8.5.x-trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: m...@normi.net

The documentation states that certificateKeyAlias is optional, and that "If not
specified, the first key read from the keystore will be used". It seems that
since r1713277, the default of this variable is set to "tomcat", which leads to
the following exception if the name of the certificate is different:

> java.lang.IllegalArgumentException: java.io.IOException: Alias name tomcat 
> does not identify a key entry
>     at 
> org.apache.tomcat.util.net.AbstractJsseEndpoint.createSSLContext(AbstractJsseEndpoint.java:103)
>     at 
> org.apache.tomcat.util.net.AbstractJsseEndpoint.initialiseSsl(AbstractJsseEndpoint.java:81)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to