LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-29-2012, 07:17 AM   #1
Rafael25
Member
 
Registered: Jul 2012
Posts: 55

Rep: Reputation: Disabled
SSL for Apache tomcat


HI,

I am using apache tomcat 7.0.29
jdk1.7.0_01
Centos 5.8 i386

I want enable SSl certificate for my tomcate.

I am using this configuration inserver.xml

<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on"/>
<Connector port="8443" protocol="org.apache.coyote.http11.Http11AprProtocol"
SSLEngine="on" maxThreads="150"
scheme="https" secure="true" SSLEnabled="true"
SSLCertificateFile="/var/webuzo/certs/webuzo.crt"
SSLCertificateKeyFile="/var/webuzo/certs/webuzo.key"
clientAuth="optional" SSLProtocol="TLSv1"

/>

When I vist https://myserver:8443 it's shows unable to connect.

Please solve my issue.
 
Old 11-29-2012, 11:40 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Better read this howto and post specific questions if you have any problem

Regards
 
1 members found this post helpful.
Old 12-02-2012, 08:13 PM   #3
di11rod
Member
 
Registered: Jan 2004
Location: Austin, TEXAS
Distribution: CentOS 6.5
Posts: 211

Rep: Reputation: 32
Rafael,

Please attach the entire server.xml file.

Also, what are the permissions on your .crt and key files? For troubleshooting purposes, you should chmod 755 on them both.

What does the catalina logfile say about the startup?

When you run ps -ef |grep tomcat do you see anything running?

di11rod
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache ProxyPass + tomcat on backend with SSL alok.rhct Linux - Server 1 08-16-2009 07:47 AM
Configuring Apache for SSl and tomcat 5. WRXSTi Fedora 1 01-22-2009 09:30 PM
intgrating Apache with Tomcat on SSL hany_77 Linux - Server 1 12-30-2007 09:05 PM
Apache Tomcat and SSL selestin Mathew Linux - Software 1 11-22-2007 03:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration