Trusted Contributor.. RobertBuerger Trusted Contributor..
Trusted Contributor..
394 views

Attaching client certificate with HTTP Client POST

Hi all,

 

I'm trying to communicate with a web service that needs client certificate with password.

With curl the call is possible: curl -k --request POST --cert CERT-FILE:CERT-PASSWORD -key KEY-FILE  URL

In OO I tried the operation /Base [1.10.0]/Library/Operations/HTTP Client/v2.0/Http Client but with no luck.

What is the correct authType for this?

Keystore and TrustStore are created the Certs/Key.

Can the operation handle client certificate with password?

Thanks

Robert  

Tags (1)
0 Likes
2 Replies
Knowledge Partner
Knowledge Partner

Re: Attaching client certificate with HTTP Client POST

We had a similar thing a while back

I had to import the certs into the OO java keystore

Just a thought

Not sure if it's your issue as well:)

Apologies just re-read your post, think you already did that?

0 Likes
Trusted Contributor.. RobertBuerger Trusted Contributor..
Trusted Contributor..

Re: Attaching client certificate with HTTP Client POST

Yes, I have imported the certs into the keystore already.

Can you remember which auth type you have choosed? any? basic?

Thanks

Robert

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.