When Tomcat supports SSL, keystore was tampered with, or password was incorrect

Source: Internet
Author: User

I have been reporting the entire error, and the password is clearly correct. Many of the information found in China says:

It is indeed a Password error. You can delete it and re-create the key.

The reason is that

Keystore was tampered with, or password was incorrect

The possible cause is that the configuration order is incorrect, that is, the keystorefile configuration should be written in connectoer.

 

The keystorepass should be written to the factory! Otherwise, an error will always be reported.

 

The original text is described as follows:

 

The error "Java. io. ioexception: keystore was tampered with, or password was incorrect ". this error occurs during installation. it is because the password shocould be in the factory classname, not in the connector classname.

Please insure your connector is in the following format:

    • <! -- Define an ssl http/1.1 Connector on port 443 -->
    • <Connector classname = "org. Apache. Catalina. connector. http. httpconnector"
    • Port = "443" minprocessors = "5" maxprocessors = "75"
    • Keystorefile = "path. to. keystore"
    • Enablelookups = "true"
    • Acceptcount = "10" DEBUG = "0" Scheme = "HTTPS" secure = "true">
    • <Factory classname = "org.apache.catalina.net. sslserversocketfactory"
    • Clientauth = "false" protocol = "TLS"Keystorepass = "keystore. Password"/>
    • </Connector>

Address: http://www.globalsign.com/support/faq/tomcat/01.php

 

 

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.