Re: [8.5.16] SSLHostConfig certificateVerification="optionalNoCA" ignored?

2017-07-30 Thread Martynas Jusevičius
Actually I am using Tomcat on Docker: https://hub.docker.com/_/tomcat/ I do not really know the answer to your question :/ On Sun, 30 Jul 2017 at 23.12, Mark Thomas wrote: > On 30/07/17 21:35, Martynas Jusevičius wrote: > > Hey list, > > > > I need my webapp to accept all SSL client certificate

Re: [8.5.16] SSLHostConfig certificateVerification="optionalNoCA" ignored?

2017-07-30 Thread Mark Thomas
On 30/07/17 21:35, Martynas Jusevičius wrote: > Hey list, > > I need my webapp to accept all SSL client certificates and do its own > validation. > > I'm upgrading server.xml from the JSSE SSL Connector which used > clientAuth="want" and a custom trustManagerClassName in order to do that. > > Th

[8.5.16] SSLHostConfig certificateVerification="optionalNoCA" ignored?

2017-07-30 Thread Martynas Jusevičius
Hey list, I need my webapp to accept all SSL client certificates and do its own validation. I'm upgrading server.xml from the JSSE SSL Connector which used clientAuth="want" and a custom trustManagerClassName in order to do that. The 8.5.16 docs indicate that this should be replaced with SSLHost

Re: Tomcat 8.5.19 corrupts static text files encoded with UTF-8

2017-07-30 Thread Mark Thomas
On 30/07/17 13:39, Konstantin Preißer wrote: > Hi Mark, > >> -Original Message- >> From: Mark Thomas [mailto:ma...@apache.org] >> Sent: Sunday, July 30, 2017 12:40 PM >> >> (...) >> >>> Stuff breaking is unintentional and is a bug. Unfortunately, it appears >>> that you have stumbled acros

RE: Tomcat 8.5.19 corrupts static text files encoded with UTF-8

2017-07-30 Thread Konstantin Preißer
Hi Mark, > -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Sunday, July 30, 2017 12:40 PM > > (...) > > > Stuff breaking is unintentional and is a bug. Unfortunately, it appears > > that you have stumbled across a bug that wasn't detected in any of the > > last t

Re: Tomcat 8.5.19 corrupts static text files encoded with UTF-8

2017-07-30 Thread Mark Thomas
On 30/07/17 10:50, Mark Thomas wrote: > On 30/07/17 10:21, Rémy Maucherat wrote: >> On Sun, Jul 30, 2017 at 10:59 AM, Konstantin Preißer >> wrote: >>> I honestly don't understand that change. As a web developer, I expect a >>> web server to serve static files exactly as-is, without trying to co

Re: Tomcat 8.5.19 corrupts static text files encoded with UTF-8

2017-07-30 Thread Mark Thomas
On 30/07/17 10:21, Rémy Maucherat wrote: > On Sun, Jul 30, 2017 at 10:59 AM, Konstantin Preißer > wrote: > >> Hi Mark, >> >>> -Original Message- >>> From: Mark Thomas [mailto:ma...@apache.org] >>> Sent: Saturday, July 29, 2017 2:56 PM >>> (...) Why would Tomcat want to modi

Re: Tomcat 8.5.19 corrupts static text files encoded with UTF-8

2017-07-30 Thread Rémy Maucherat
On Sun, Jul 30, 2017 at 10:59 AM, Konstantin Preißer wrote: > Hi Mark, > > > -Original Message- > > From: Mark Thomas [mailto:ma...@apache.org] > > Sent: Saturday, July 29, 2017 2:56 PM > > > >> (...) > >> > > >Why would Tomcat want to modify static files, instead of just serving > > >the

RE: Tomcat 8.5.19 corrupts static text files encoded with UTF-8

2017-07-30 Thread Konstantin Preißer
Hi Mark, > -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Saturday, July 29, 2017 2:56 PM > >> (...) >> > >Why would Tomcat want to modify static files, instead of just serving > >them as-is? > > Because Tomcat now checks the response encoding and the file enco