Tomcat SSL Failed to load KeyStore type JKS the with path system could not find the specified file __java

Source: Internet
Author: User
TOMCAT6 Enable SSL, configure

[HTML] View plain copy <connector port= "8443" protocol= "Org.apache.coyote.http11.Http11Protocol" sslenabled= "true" maxthreads= "Scheme=" "https" secure= "true" Clientauth= "false" sslprotocol= "TLS" Keystor Efile= "C:\key\ssokey.keystore" keystorepass= "SSO"/>

Error:

Serious: Failed to load KeyStore type JKS with path C:\Documents and Settings\administrator/.keystore due to C:\Documents and Se Ttings\administrator\.keystore (the system cannot find the specified file)


Because even if Keystorefile is configured, a. keystore file is required.

Workaround:

Run

Keytool-genkey-alias Tomcat-keyalg RSA

To enter a password: input: Changeit

The rest will fill in the good (there are suggestions that the name and surname do not use IP, to use the domain name), completed after C:\Documents and Settings\Administrator will be generated

. keystore file.


Reference:

Http://tomcat.10.n6.nabble.com/ssl-problems-td1999892.html

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.