B4J Question Downgrade TLS1.3 to TLS1.2

prajinpraveen

Active Member
Licensed User
Longtime User
The client is running SAP version that apparently does not work with TLS 1.3
Is it possible to downgrade B4J Non-UI app to use TLS 1.2 instead?

thank you
 

Attachments

  • MicrosoftTeams-image (1).png
    MicrosoftTeams-image (1).png
    104.6 KB · Views: 126

prajinpraveen

Active Member
Licensed User
Longtime User
Good Day Erel and everyone,

When I downgrade the Jserver version from Jserver 4.01 to Jserver 3.0, SAP is able to connect successfully.
Here are my findings
B4J 9.80 + Jserver 4.01 ( with HTTPS) - Failure
B4J 9.80 + Jserver 4.01 ( without HTTPS) -Success
B4J 9.80 + Jserver 3.00 ( with/without HTTPS) -Success
B4J 9.30 + Jserver 3.00 ( with/without HTTPS) -Success

Your assistance is highly appreciated
 
Upvote 0

prajinpraveen

Active Member
Licensed User
Longtime User
B4J uses Java version 11
openjdk version "11.0.1" 2018-10-16
OpenJDK Runtime Environment 18.9 (build 11.0.1+13)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.1+13, mixed mode)

QA/Production
openjdk version "19-ea" 2022-09-20
OpenJDK Runtime Environment Zulu19+13-CA (build 19-ea+2)
OpenJDK 64-Bit Server VM Zulu19+13-CA (build 19-ea+2, mixed mode, sharing)
 
Upvote 0

prajinpraveen

Active Member
Licensed User
Longtime User
Thanks Erel,

I have added this.

code:
Dim jo As JavaObject = ssl
    jo.RunMethod("setExcludeProtocols", Array(Array As String("TLSv1.3")))

I will test with them during the course of the week. your help is much appreciated.
 
Upvote 0
Top