Re: AW: SSL issue with Tomcat 6.0.45 and JRE 1.8.0

2022-06-17 Thread Peter Chamberlain
;>> that > >>> may > >>>> be in there (e.g. passwords). > >>>> > >>>> -chris > >>>> > >>> > > > > The error says that the client and the server couldn’t find a common > cipher suite. > > They couldn’t agree on any cipher. > > Does your keystore contain a valid private key? > > The problem is likely that Tomcat 6 (which is ancient) defaults to TLSv1 > and no higher (this is a guess; I'm not bothering to look at a > 14-year-old version of Tomcat to figure out what the problem really is). > The client isn't willing to connect to such an ancient version of any > protocol, so it fails with the handshake failure. > > > Maybe you can try to print out all available cipher suites on your > environment: > > > https://stackoverflow.com/questions/9333504/how-can-i-list-the-available-cipher-algorithms > > You can add the code to a jsp-page and print out the available > algorithms. > > Try explicitly setting the "enabled protocols" to "TLSv1, TLSv1.1, > TLSv1.2, TLSv1.3" -- however that's done in that dinosaur of a Tomcat > version. It might be enabledProtocols="..." if might be > SSLProtocols="..." and it might have a lot to do with whether or not > APR/native is being used, too. > > -chris > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > Could this be an issue with the java jdk security disabled algorithms. Later versions of jdk 8 disabled TLSv1 and TLSv1.1 by default, and you have to change the jre/jdk conf/security/java.security file to fix it for older use cases. -- *Peter Chamberlain*

Re: Apache Tomcat 9 | Tomcat starting issue

2021-08-23 Thread Peter Chamberlain
On Sun, 22 Aug 2021 at 08:55, Piyush Sharma wrote: > > On Fri, Aug 20, 2021 at 10:40 PM Christopher Schultz < > ch...@christopherschultz.net> wrote: > > > Piyush, > > > > On 8/20/21 06:36, Piyush Sharma wrote: > > >> > > >> Hello, > > >> > > >> I am using Apache Tomcat 9.0.46 version on docker

Re: Understanding issues with connection refused when redirecting internally

2021-04-12 Thread Peter Chamberlain
On Mon, 12 Apr 2021, 09:07 Mark Thomas, wrote: > On 11/04/2021 11:03, Peter Chamberlain wrote: > > > > > I've been investigating this some more, as I'm not convinced nio2 isn't > > behaving strangely in this case. I think there may of been some sort of > > rever

Re: Understanding issues with connection refused when redirecting internally

2021-04-11 Thread Peter Chamberlain
On Fri, 9 Apr 2021 at 18:12, Peter Chamberlain wrote: > > > On Fri, 9 Apr 2021, 14:10 Christopher Schultz, < > ch...@christopherschultz.net> wrote: > >> Peter, >> >> On 4/9/21 06:53, Peter Chamberlain wrote: >> > Hello, >> > I've been t

Re: Understanding issues with connection refused when redirecting internally

2021-04-09 Thread Peter Chamberlain
On Fri, 9 Apr 2021, 14:10 Christopher Schultz, wrote: > Peter, > > On 4/9/21 06:53, Peter Chamberlain wrote: > > Hello, > > I've been trying to understand the behaviour of tomcat when handling > > internal redirects. I'm testing using tomcat 9.0.38. I'm testing using

Re: Understanding issues with connection refused when redirecting internally

2021-04-09 Thread Peter Chamberlain
On Fri, 9 Apr 2021, 14:29 Mark Thomas, wrote: > On 09/04/2021 11:53, Peter Chamberlain wrote: > > Hello, > > I've been trying to understand the behaviour of tomcat when handling > > internal redirects. I'm testing using tomcat 9.0.38. I'm testing using > > jdk8 1.8.0_2

Understanding issues with connection refused when redirecting internally

2021-04-09 Thread Peter Chamberlain
Hello, I've been trying to understand the behaviour of tomcat when handling internal redirects. I'm testing using tomcat 9.0.38. I'm testing using jdk8 1.8.0_265. My main test cases have been 2 forwards to the same servlet, and then a response. Or 2 redirects to the same servlet and then a