1. shaila panwar
  2. PowerBuilder
  3. Wednesday, 11 August 2021 07:59 AM UTC

HI team ,

 

Need some help in establishing the TLS1.2 protocol for the PB application.

I am using the HTTPClient object which supports the TLS1.2 Protocol and setting up using the property.

lnv_HttpClient.SecureProtocol = SECURE_PROTOCOL_TLS1

When I set the value to above 3 the SendRequest Method of HTTPClient returns -1

for the value 3 it return success which s TLS1.0.

The Operating system is Win7 where TLS1.2 is not enabled y default hence I have added the registry value on the below location:

Registry location: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client
DWORD name: DisabledByDefault
DWORD value: 0

 

What I am missing here, please help.

 

René Ullrich Accepted Answer Pending Moderation
  1. Wednesday, 11 August 2021 10:55 AM UTC
  2. PowerBuilder
  3. # 1

Have you installed KB3140245?

Comment
There are no comments made yet.
shaila panwar Accepted Answer Pending Moderation
  1. Thursday, 12 August 2021 01:51 AM UTC
  2. PowerBuilder
  3. # 2

No, We cannot as there are applications which are still using lower protocols.

I needed to add it additionally to make it enabled on the OS level.

Comment
  1. René Ullrich
  2. Thursday, 12 August 2021 05:17 AM UTC
AFAIK the registry changes will only work with installed KB3140245.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.