Closed milan0v closed 1 year ago
This looks to be an issue with the way you are using curl
. The error message informs you that the certificate is not imported correctly for the request.
curl: (58) schannel: Failed to import cert file qwac.crt, last error is 0x80092002
This is not something we can assist you with I'm afraid. Please refer to your curl
versions documentation.
The URL for sandbox is documented here as posted previously another issue as well: https://developer.openbanking.prod.lunar.app/docs/default/api/registration
I had to downgrade my curl version and now I'm getting this:
curl -v -H "Content-Type: application/json" -X POST --data '{"redirectUris":["https://dev-api-symblepay.io/register"],"roles":["PSP_AI","PSP_PI"],"name":"dev-api-symblepay.io"}' --cacert C:/Users/User/Downloads/cacert.pem --cert qwac.crt --key qwac.key https://sandbox.openbanking.prod.lunar.app/tpp
POST /tpp HTTP/2 Host: sandbox.openbanking.prod.lunar.app User-Agent: curl/7.55.1 Accept: / Content-Type: application/json Content-Length: 104
Hello, I tried curl -v -H "Content-Type: application/json" -X POST --data '{"redirectUris":["https://localhost:5000"],"roles":["PSP_AI","PSP_PI"],"name":"mycompany"}' --cert qwac.crt --key qwac.key https://sandbox.openbanking.prod.lunar.app/tpp Note: Unnecessary use of -X or --request, POST is already inferred.
Also tried https://tpp.openbanking.prod.lunar.tech/tpp with the same result, any thoughts? And what is the correct url for registering to sandbox ?