-
Sheldon Shulman
- PowerBuilder
- Monday, 30 June 2025 10:04 PM UTC
Hi All,
Here is my sample code,
HttpClient lnv_HttpClient
Int li_rc
string ls_ContentType
string ls_storeName, ls_certIssue, ls_certSN
lnv_HttpClient = create HttpClient
ls_ContentType = "application/x-www-form-urlencoded"
lnv_HttpClient.SetRequestHeader("Content-Type", "application/x-www-form-urlencoded" )
ls_storeName = "MY"
ls_certIssue = "CN = DOD ID CA-73~r~n O = PKI~r~n L = XXX~r~n S = Government~r~n C = US"
ls_certSN = "0123ab"
lnv_HttpClient.anonymousAccess = false
li_rc = lnv_HttpClient.setClientCert(ls_storeName, ls_certIssue, ls_certSN)
Getting li_rc = -2 on this call.
What am I doing incorrectly.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.