Hey Sanket,
I’ve attached a copy of a working server.xml configuration to this email. You do need a tomcat alias within the keystore. You also need to set the password correctly, obviously. If you think the issue is your keystore, you can verify it with this command:
keytool -list -keystore /path/to/keystore
I’m not certain about your actual signing certificates, but I think what you need to do is follow the procedure in the section on that Tomcat page entitled, “Importing the Certificate”. That should give you a keystore with the appropriate alias. Put that somewhere your Tomcat can access it, configure server.xml appropriately, and restart.
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/xnat_discussion/-/iWK5uHVJA68J.
To post to this group, send email to
xnat_di...@googlegroups.com.
To unsubscribe from this group, send email to
xnat_discussi...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/xnat_discussion?hl=en.
ProxyPass /xnat http://localhost:8080/xnat ProxyPassReverse /xnat http://localhost:8080/xnat
(This assuming Tomcat is listening on port 8080).
Best,
Torsten
We do something similar on our production servers but with mod_jk instead of the proxy. Apache has a rewrite directive to push http traffic to https:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
SSL is configured in an Apache configuration file. In that configuration, SSL isn’t handled at the Tomcat level at all, just as Torsten says.
Other than that, I would guess that you’re correct about issues importing your certificates, but I haven’t ever really done that myself. I’ve only configured self-signed certificates. The IT staff wherever I’ve been working has always handled the CA-issued cert installations.
And yes, I did forget to attach the server.xml! It’s attached here…
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msg/xnat_discussion/-/tYZXPG7Bx2YJ.
To post to this group, send email to
xnat_di...@googlegroups.com.
To unsubscribe from this group, send email to
xnat_discussi...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/xnat_discussion?hl=en.