Closed chrisjsimpson closed 5 years ago
Why are we not using --cacert
for this?
@constantine2nd any thoughts welcome :+1:
It (https://github.com/OpenBankProject/OBP-CLI/pull/90/files#diff-6a4a6f574a6df707a4f483ef9f0f1ff1R22) simply performs the same curl request, but using the obp cli
e.g.
Running
obp getconsentstatus --cert /tmp/test.pem
Will produce the http request:
GET /berlin-group/v1.3/consents/{consent_id}/status HTTP/1.1
Host: example.com
Accept: application/json
Authorization: DirectLogin token="abc123"
PSD2-CERT: -----BEGIN CERTIFICATE-----redacted-----END CERTIFICATE-----