Here's the Tomcat 6 SSL HOWTO: http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
Generally, Tomcat expects a keystore password of "changeit" and a key password that matches the keystore, unless you configure it otherwise. You can use a different keystore password, but the key and keystore password must be the same. Michael Della Bitta Applications Developer o: +1 646 532 3062 | c: +1 917 477 7906 appinions inc. “The Science of Influence Marketing” 18 East 41st Street New York, NY 10017 t: @appinions <https://twitter.com/Appinions> | g+: plus.google.com/appinions<https://plus.google.com/u/0/b/112002776285509593336/112002776285509593336/posts> w: appinions.com <http://www.appinions.com/> On Fri, Dec 20, 2013 at 10:34 PM, Shawn Heisey <s...@elyograg.org> wrote: > On 12/20/2013 1:39 PM, Patel, Pritesh wrote: > > I am using solr-solr4.5.1.jar with httpclient 4.3. I put these jars a > lib folder within WEB-INF of the war file that I am creating. I deploy the > war to Tomcat 6. > > > > When I run the code, I get this error when I try to run a query to solr. > This works when I use the solr-solr-3.6.1.jar but doesn't with > solr-solr-4.5.1.jar. > > > > What am I missing? > > > > > > Exception > > Dec 20, 2013 11:55:31 AM > org.apache.solr.client.solrj.impl.HttpClientUtil createClient > > INFO: Creating new http client, > config:maxConnections=128&maxConnectionsPerHost=32&followRedirects=false > > org.apache.http.conn.ssl.SSLInitializationException: Failure > initializing default system SSL context > > <snip> > > > Caused by: java.io.IOException: Keystore was tampered with, or password > was incorrect > > <snip> > > > Caused by: java.security.UnrecoverableKeyException: Password > verification failed > > This is basically a Tomcat and/or Java issue. Something in the system > has told Tomcat that it should use an SSL context, but there's a problem > with the Java keystore where it's trying to get the certificate for SSL. > > If you actually do intend to use SSL, you'll need to fix it. If you > don't, you'll need to turn it off. I wish I knew enough about what to > do, but I've barely ever touched Tomcat. > > Thanks, > Shawn > >