1. Sufyan Maghur
  2. PowerBuilder
  3. Friday, 13 October 2023 18:19 PM UTC

Trying to use RESTClient to connect to IBM MQS... Getting an error -27 -- The server requires the client to provide a certificate. when executing Command SetRequestHeader

Our Server doesn't have a Certification... How can we avoid this error? Or does the Server need a certificate?

Connecting from the Command prompt we can connect without a certificate

Loïc MAHE Accepted Answer Pending Moderation
  1. Wednesday, 29 May 2024 07:52 AM UTC
  2. PowerBuilder
  3. # 1

Hello,

 

You should use: lrc_P020.anonymousAccess = true

Then it won't check certificate

Comment
There are no comments made yet.
Kevin Ridley Accepted Answer Pending Moderation
  1. Friday, 13 October 2023 20:49 PM UTC
  2. PowerBuilder
  3. # 2

Is the MQS exposed as a web service?  What type of authentication is setup for it?
https://www.ibm.com/docs/en/ibm-mq/9.3?topic=security-configuring-users-roles

 

1 thing I always do with web services is get it working with SOAPUI or Postman first, then view the HTTP code in that tool.  Then I try to duplicate that code using HTTPClient instead of RESTClient.

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