You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I managed to get the JWT token with certificate.
It is working when I give the full path, or relative to the workspace root.
I have the http file in here: /Users/<myUserId>/git/<projectName>/backend/test/manual-requests/requests.http
and certificate in here: /Users/<myUserId>/git/<projectName>/backend/test/manual-requests/cert.pem
and key: /Users/<myUserId>/git/<projectName>/backend/test/manual-requests/key.pem
Hi @rufreakde, thank you for your answer.
Unfortunately, following your suggestion did not do the trick for me.
In fact, this "./backend/test/manual-requests/key.pem" is working for me, and this path is actually relative to the workspace.
The problem is, "cert": "./cert.pem" or "cert": "cert.pem" does not work, where this is relative to the test.http file.
In the documentation it states:
you need to set the certificates paths(absolute/relative to workspace/relative to current http file)
Hi Huachao and the community,
I managed to get the JWT token with certificate.
It is working when I give the full path, or relative to the workspace root.
I have the http file in here:
/Users/<myUserId>/git/<projectName>/backend/test/manual-requests/requests.http
and certificate in here:
/Users/<myUserId>/git/<projectName>/backend/test/manual-requests/cert.pem
and key:
/Users/<myUserId>/git/<projectName>/backend/test/manual-requests/key.pem
Then, this configuration works:
Or this one also works:
However, I get error when I try the path relative to the http file:
I get the following error:
Certificate path ./key.pem doesn't exist, please make sure it exists.
How can I configure path of certificate files relative to the http file?
The text was updated successfully, but these errors were encountered: