Solved

tomcat giving wrong ssl cert

Posted on 2012-04-10
2
449 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

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

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

624 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