Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Client Certificate performing a HTTP_POST in RPGLE #73

Open
robschrama opened this issue Sep 28, 2021 · 2 comments
Open

Using Client Certificate performing a HTTP_POST in RPGLE #73

robschrama opened this issue Sep 28, 2021 · 2 comments
Labels

Comments

@robschrama
Copy link

Hello,

To perform a HTTP_POST (LIBHTTP) in RPGLE using various certificates, two applications were created (RDW-IVIDIENSTEN_SERVER and RDW-IVIDIENSTEN) in the Digital Certificate Manager. The first one for trusting certificate authorities. The second one to assign a Client Certificate. Both DCM applications are used in the RPGLE application (see KA4050_782560_QSECOFR_SCHRAMAS4_1.PDF) by performing HTTP_INIT instructions.

Although the logging shows (see httpapi_debug.txt) the client certificate is sent along, the external Web service won't accept the HTTP_POST because the client certificate seems to be missing.
As the provider confirms a handshake was done properly, certificates authorities seems to be trusted indeed.

Can anyone help me how to proceed ?

Regards,
Rob Schrama
Mitsubishi Motor Sales Nederland BV

httpapi_debug.txt
KA4050_782560_QSECOFR_SCHRAMAS4_1.PDF

@lammertb
Copy link
Owner

The files you posted contain source code of a different HTTP library. You should check https://www.scottklement.com/httpapi/ instead. There are some support options on that page.

@robschrama
Copy link
Author

robschrama commented Oct 4, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants