-
Notifications
You must be signed in to change notification settings - Fork 7
Description
I'm developing a demo which uses OP psd2. In the documentation it mentions that cert and key are generated with this example. Is that still true? And if so, which variables I should save to file to get it working? A quote from https://op-developer.fi/p/paymentauthorizationflow step 2.
The following cURL call can be used for completing this step. The call assumes that your current directory contains your client certificate (client.crt) and the related private key (key.pem) - both are created by the Registration Helper App.
And as a side note, I already tried to save both mtlsKey and mtlsCert as is, and with .toString(), but always got an error from cURL
could not load PEM client certificate, OpenSSL error error:140AB18E:SSL routines:SSL_CTX_use_certificate:ca md too weak, (no key found, wrong pass phrase, or wrong file format?)
Which indicates that cert/key are weakly generated with md5 or there is something else wrong (Could be my fault, since I don't know if those vars I used are correct).