1. Nilanjan Chatterjee
  2. PowerBuilder
  3. Wednesday, 12 July 2023 08:59 AM UTC

Hi All,

We are trying make an API call to Z o/s through PB 2019. The authentication process to this API call is through a certificate, i.e. a .pfx file. Can someone please suggest how we can achieve this. How can we use the .pfx certificate file to authenticate our call to the API.

Thanks.

Andreas Mykonios Accepted Answer Pending Moderation
  1. Wednesday, 12 July 2023 10:22 AM UTC
  2. PowerBuilder
  3. # 1

Hi.

This functionality isn't supported in PB 2019 R3. You should upgrade to PB 2022. Httpclient object in PB 2022 has a SetClientCert method that should work.

Andreas.

Comment
  1. Andreas Mykonios
  2. Wednesday, 12 July 2023 10:31 AM UTC
Only by using a 3rd party control that supports this kind of authentication. I see you posted another relevant question about that, where René Ullrich provider an alternative.

Andreas.
  1. Helpful
  1. Nilanjan Chatterjee
  2. Wednesday, 12 July 2023 11:18 AM UTC
Sorry this is the first time I have asked a question here in Appeon community. I don't get which is the other question you are referring to.
  1. Helpful
  1. Andreas Mykonios
  2. Wednesday, 12 July 2023 11:20 AM UTC
My mistake... It was a similar question asked from somebody else. Please take a look at the following discussion: https://community.appeon.com/index.php/qna/q-a/setclientcert-is-not-available-in-pb-2019-build-2670.

Andreas.
  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.