Solved

tomcat giving wrong ssl cert

Posted on 2012-04-10
2
441 Views
Last Modified: 2012-04-13
I have the following connector and virtual hosts set up in tomcat and for some reason when I navigate to the host in my browser its showing a cert from localhost.localdomain.

<Connector port="443" maxHttpHeaderSize="8192" maxThreads="1150"
minSpareThreads="25" maxSpareThreads="75" enableLookups="false"
disableUploadTimeout="true" acceptCount="1000" scheme="https"
secure="true"
SSLEnabled="true" clientAuth="false" sslProtocol="TLS" keyAlias="server"
keystoreFile="/root/star_example_com.jks"
keystorepass="example" />

<Host name="rest.example.com" appBase="/usr/share/apache-tomcat-7.0.27/Sting$
autoDeploy="true">
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="resaccess_log" suffix=".txt" pattern="%h %l %u
%t &quot;%r&quot; %s %b" resolveHosts="false" />
<Alias>*.example.com</Alias>

</Host>
0
Comment
Question by:casit
  • 2
2 Comments
 
LVL 17

Assisted Solution

by:Anuroopsundd
Anuroopsundd earned 500 total points
ID: 37831205
This means you are using self signed certificate.

 you need to configure the certificate that you have from the certificate authority.

http://tomcat.apache.org/tomcat-3.3-doc/tomcat-ssl-howto.html#s6
0
 
LVL 17

Accepted Solution

by:
Anuroopsundd earned 500 total points
ID: 37831207
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question