Redirecting to https URL when https port is accessed with http scheme

2018-10-05 Thread ettra lancelot
Hi, I would like to know whether it's possible to configure tomcat to automatically redirect to the https URL when https port is access using http scheme instead of https*.* For example, say I have configured an ssl connector on port 8443, if I access the connector using http scheme (eg: http://l

RE: Redirecting to https URL when https port is accessed with http scheme

2018-10-05 Thread Gillett, Phil
Hello: Perfect timing!! I've been assigned at my job to apply something similar with Tomcat and Footprints 12, and have had some issues. I hope someone has a solution, and I thank you in advance! Phil G. -Original Message- From: ettra lancelot Sent: Friday, October 5, 2018 1:57 P

Re: Redirecting to https URL when https port is accessed with http scheme

2018-10-05 Thread Bill Harrelson
Well, not a configuration, you could write and register a filter that sends a re-direct. You have to do something similar to this (but in reverse): https://stackoverflow.com/questions/9389211/using-filters-to-redirect-from-https-to-http On 10/5/2018 3:23 PM, Gillett, Phil wrote: Hello: Perf

Re: Redirecting to https URL when https port is accessed with http scheme

2018-10-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Etcy, On 10/5/18 14:57, ettra lancelot wrote: > I would like to know whether it's possible to configure tomcat to > automatically redirect to the https URL when https port is access > using http scheme instead of https*.* There is no way to get To

Re: Redirecting to https URL when https port is accessed with http scheme

2018-10-05 Thread ettra lancelot
Thank you for the detailed answer, Chris. On Sat, Oct 6, 2018 at 2:41 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Etcy, > > On 10/5/18 14:57, ettra lancelot wrote: > > I would like to know whether it's possible to configure