LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   tomcat 7 SSL issue (https://www.linuxquestions.org/questions/linux-server-73/tomcat-7-ssl-issue-4175734542/)

andrewm659 03-04-2024 10:17 AM

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.

smallpond 03-06-2024 10:58 AM

"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?

andrewm659 03-26-2024 09:00 PM

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.


All times are GMT -5. The time now is 12:19 AM.