Skip to content

Using Client Certificate performing a HTTP_POST in RPGLE #73

Description

@robschrama

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions