LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-04-2024, 10:17 AM   #1
andrewm659
Member
 
Registered: Oct 2004
Distribution: CentOS/Fedora/OpenSuse
Posts: 61

Rep: Reputation: 1
tomcat 7 SSL issue


Hello I'm working with a friend on an old ubuntu 14 server running tomcat 7. We can't get the SSL to work with tomcat 7. It is a wildcard certificate.

I have the SSL set up in my /etc/tomcat/server.xml

<Connector protocol="org.apache.coyote.http11.Http11NioProtocol"
port="8443" SSLEnabled="true" maxThreads="200"
scheme="https" secure="true"
SSLCertificateFile="/etc/ssl/path/to/SSL.crt"
SSLCertificateKeyFile="/etc/ssl/path/to/priv.key"
SSLCertificateChaineFile="/etc/ssl/intermediate_or_chain/SectigoRSADomainValidationSecureServerCA.crt"
clientAuth="false" sslProtocol="TLS" />


However it is not working. I don't have any war/jar running at the moment.

Not sure what I am doing wrong.

There are no errors in the logs that I can see that would point to something. I have tried ther sample application and it will not work with that.

It has been a while since I have done a complex configuration on tomcat.
 
Old 03-06-2024, 10:58 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,146

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
"Doesn't work" isn't very useful. What is it supposed to do that fails? Are you perhaps trying to connect with a browser? Which ones have you tried? Have you tried clicking on the lock icon in the browser to see what error it is giving? What version of SSL is installed?
 
Old 03-26-2024, 09:00 PM   #3
andrewm659
Member
 
Registered: Oct 2004
Distribution: CentOS/Fedora/OpenSuse
Posts: 61

Original Poster
Rep: Reputation: 1
By doen't work I mean, I can't browse to it using https. It won't serve https at all. just http. I have tried Edge, Firefox and Vivaldi. I get the error it can't read the ssl. I turned on debug but i'm not getting much of an error in the logs. I'm not sure of the version of openssl that is installed. I will find out and let you know.
 
  


Reply

Tags
ssl, tomcat, ubuntu 14.04



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
Tomcat Issue (multiple tomcat is running) vignesh4sh Linux - Server 4 02-04-2013 01:16 AM
apache-tomcat and jakarta-tomcat shifter Programming 1 07-28-2007 10:36 PM
How to make Tomcat 4.0.1 and Tomcat 5.0.28 coexist in one server? g18397 Linux - Software 0 05-16-2006 03:16 AM
TOMCAT init script not working on startup -- tomcat 4.x / Mandrake Linux 8.0 jmartinph Mandriva 0 03-08-2004 01:31 AM
Why use Apache with Tomcat rather than just Tomcat itself? davee Linux - Software 1 08-21-2003 09:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:40 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