Solved

tomcat giving wrong ssl cert

Posted on 2012-04-10
2
438 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now