Tomcatssl configuration error-"No certificate file specified or invalid file format"

Source: Internet
Author: User

The most basic SSL configuration is the same tomcat version (6.0.36. "No certificate file specified or invalid file format" is reported under the win7-32bit flagship edition without any issues ".

The original configuration is as follows:

 <  Connector  Port  = "8443"  Protocol  = "Https/1.1"  Sslenabled  = "True"  Maxthreads  = "150"  Scheme  = "HTTPS"  Secure = "True"  Clientauth  = "False"  Sslprotocol  = "TLS"  Keystorefile  = "D:/keystore/. keystore"  Keystorepass  = "111111"  /> 

The modified configuration is as follows:

 <  Connector  Port  = "8443"  Protocol = "Org. Apache. Coyote. http11.http11protocol"  Sslenabled  = "True"  Maxthreads  = "150"  Scheme  = "HTTPS"  Secure  = "True"  Clientauth  = "False"  Sslprotocol  = "TLS"  Keystorefile  = "D:/keystore/. keystore" Keystorepass  = "111111"  /> 

The problem is solved after the Protocol attribute value is modified.

------------------------ Split line ---------------------------------

PS: Repeat the official Tomcat 6.0 documentation (http://tomcat.apache.org/tomcat-6.0-doc/config/http.html#SSL Support) Where (as shown in) the above two configurations should be the same. It is hard to understand why an error is reported. Why?

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.