Go Back   Tech Support Forum > Design Forum > Web Serving and Management

User Tag List

Tomcat SSL Configuration

This is a discussion on Tomcat SSL Configuration within the Web Serving and Management forums, part of the Tech Support Forum category. Hi all, Really hoping someone can help me on this one... I have tomcat 6 installed and an application deployed,

Closed Thread
Thread Tools Search this Thread
Old 06-13-2014, 07:05 AM   #1
Registered Member
Join Date: Jun 2014
Posts: 1
OS: Win7

Hi all,

Really hoping someone can help me on this one...
I have tomcat 6 installed and an application deployed, everything works perfectly.

Now I would like to use SSL, so I have used the guides to create a Keystore file and edited my server.xml file, like so:

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS"
keystoreFile="C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf"

Have I missed something here ??
Because when I start tomcat again I get the following error, complains abt access to the file.

INFO: Initializing Coyote HTTP/1.1 on http-8080
Jun 13, 2014 2:29:07 PM org.apache.tomcat.util.net.jsse.JSSESocketFactory getStore
SEVERE: Failed to load keystore type JKS with path C:\Windows due to C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf (Access is denied)
java.io.FileNotFoundException: C:\Windows (Access is denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:405)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeystore(JSSESocketFactory.java:296)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getKeyManagers(JSSESocketFactory.java:544)

I have tried a number of locations, a mixture of C drive, 1 or more sub folders but same error.
I have also made sure each folder I tried had full rights, and I am administrator.

Btw, am using Win 7 Pro/Tomcat 6.

Many thanks !
Waheed82 is offline  
Sponsored Links
Old 06-13-2014, 10:05 AM   #2
- Design Team
- Networking Team
Fjandr's Avatar
Join Date: Sep 2012
Location: Spokane, WA
Posts: 2,483
OS: Windows XP SP3, Windows 7 SP1, Debian, CentOS

My System

Try installing Tomcat outside of the program files directory.

Fjandr is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] my internet keep getting disconnecting connecting
Hi.I'm new on this forum.I got problem with my internet connection.It keeps dropping then connecting by itself.I cant download anything because in the middle it just drops.My connection is wireless and is cable.My other housemates who have laptops like me have no problem with connection.I took my...
jumrose123 Networking Support 52 03-21-2014 05:18 PM
ubuntu 12.04 / Gnome
When the system suspends after about 1.5 ~ 2 hours it locks up and will not awake. How can I : 1) wake it up 2) stop the suspension from happening Please note I am using Gnome, could NOT stand disUnity(c) !!!
RogerDavis Linux Support 7 06-04-2012 04:58 AM
SSL certificates under fire as hacking incidents pile up
A year ago nobody could have cared less about certificate authorities (CAs), a dull but critical part of Internet that makes it possible for web servers to authenticate themselves to other computers, including ordinary browsers, using SSL. But every year has its ‘threat nobody saw coming’ and in...
Glaswegian Computer Security News 0 11-11-2011 11:45 AM
New hacker DOS tool overloads SSL servers with ease
A newly released denial-of-service (DOS) tool can be used to bring down SSL (Secure Sockets Layer) servers using an average laptop computer and a standard DSL connection. Called THC-SSL-DOS, Denial-of-service attacks typically involve sending a higher number of requests than servers can process...
Glaswegian Computer Security News 0 10-26-2011 02:27 PM
Twitter turns on SSL encryption security
Twitter is slowly turning on automatic encryption on its website, a move following other major providers of web-based services to thwart account hijacking over wireless networks. Twitter has offered an option for users to turn on SSL (Secure Sockets Layer) encryption, but said on Tuesday that it...
Glaswegian Computer Security News 0 08-26-2011 11:35 AM

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is on
Smilies are on
[IMG] code is on
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Post a Question

» Site Navigation
 > FAQ
Powered by vBadvanced CMPS v3.2.3

All times are GMT -7. The time now is 06:56 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
vBulletin Security provided by vBSecurity v2.2.2 (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.1.0 (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Copyright 2001 - 2018, Tech Support Forum

Windows 10 - Windows 7 - Windows XP - Windows Vista - Trojan Removal - Spyware Removal - Virus Removal - Networking - Security - Top Web Hosts