I added -Dcom.ibm.jsse2.overrideDefaultTLS=true
I’m still getting the error IBMJSSE2 will not allow protocol SSLv3 per com.ibm.jsse2.disableSSLv3 set to
TRUE or default
I also get these messages, at the bottom.
SSLv3 protocol was requested but was not enabled
Unsupported protocol : RC4
Unsupported protocol : MD5withRSA
Unsupported protocol : DH keySize < 768
SSLv3 protocol was requested but was not enabled
Unsupported protocol : RC4
Unsupported protocol : MD5withRSA
Unsupported protocol : DH keySize < 768
SSLv3 protocol was requested but was not enabled
Unsupported protocol : RC4
Unsupported protocol : MD5withRSA
Unsupported protocol : DH keySize < 768
SSLv3 protocol was requested but was not enabled
Unsupported protocol : RC4
Unsupported protocol : MD5withRSA
Unsupported protocol : DH keySize < 768
main, setSoTimeout(60000) called
What I don’t understand is, I’m expliciately saying
System.setProperty("mail.smtps.ssl.protocols", "TLSv1.2");
Why would it be doing SSLv3 when I said TLSv1.2?
Charles
From: Versfelt, Charles
Sent: Thursday, November 20, 2025 3:43 PM
To: 'Colin Williams' <colinwilliams007@xxxxxxxxx>; 'JAVA400-L@xxxxxxxxxxxxxxxxxx' <JAVA400-L@xxxxxxxxxxxxxxxxxx>
Subject: RE: Java Apache to Office 365
I need to backtrack a bit. I think I made a mistake in my testing yesterday.
Maybe I tested the old one twice.
Despite my change, when I retested this afternoon, I’m still getting this message.
IBMJSSE2 will not allow protocol SSLv3 per com.ibm.jsse2.disableSSLv3 set
I’m going to have to research this message further.
Charles
From: Colin Williams <colinwilliams007@xxxxxxxxx<mailto:colinwilliams007@xxxxxxxxx>>
Sent: Wednesday, November 19, 2025 1:07 PM
To: Java Programming on and around the IBM i <java400-l@xxxxxxxxxxxxxxxxxx<mailto:java400-l@xxxxxxxxxxxxxxxxxx>>
Cc: Versfelt, Charles <cversfelt@xxxxxxxxxxxxxxxx<mailto:cversfelt@xxxxxxxxxxxxxxxx>>
Subject: Re: Java Apache to Office 365
Nice one! Happy to help!
On Wed, 19 Nov 2025, 15:46 Versfelt, Charles via JAVA400-L, <java400-l@xxxxxxxxxxxxxxxxxx<mailto:java400-l@xxxxxxxxxxxxxxxxxx>> wrote:
I have this solved, all that's left is to update all my Java programs and test them.
A quick test of one program worked.
I following your instructions to add -Djavax.net.debug=all.
The first message I got was:
IBMJSSE2 will not allow protocol SSLv3 per com.ibm.jsse2.disableSSLv3 set
A little research, I needed to change the system value QSSLPCL to *TLSV1.2.
I did that and my program works.
Thanks for the help!
Charles Versfelt
--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxxxxxxxx<mailto:JAVA400-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxxxxxxxx<mailto:JAVA400-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.