When I changed https for secure connection in server.xml of tomcat 7.0
<Connector
clientAuth="false" port="8443" minSpareThreads="5" maxSpareThreads="75"
enableLookups="true" disableUploadTimeout="true"
acceptCount="100" maxThreads="200"
scheme="https" secure="true" SSLEnabled="true"
SSLCertificateFile="test.cer"
SSLCertificateKeyFile="test.key"
SSLCACertificateFile="CertPath.txt"
SSLVerifyClient="require" SSLEngine="on" SSLVerifyDepth="2" sslProtocol="TLS"
/>
I’ve an error when running tomcat from IDE
Caused by: java.io.FileNotFoundException: C:\Documents and Settings\User.keystore (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
but there is no error by running tomcat 7.0/bin/tomcat7.exe.
What wrong in these two? Please explain me! Thanks.
I think you need a .key-store file.
check your server.xml file and also refer this link might be useful to you.