Solved

tomcat giving wrong ssl cert

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Not able to update Java 5 238
error when deploying 23 941
Apache Tom Cat 6 needs internet access to start website 10 77
starOut java challenge 95 195
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

733 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