Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--cert option with password -> file not found #2047

Closed
jcamiel opened this issue Oct 15, 2023 Discussed in #2013 · 0 comments · Fixed by #2246
Closed

--cert option with password -> file not found #2047

jcamiel opened this issue Oct 15, 2023 Discussed in #2013 · 0 comments · Fixed by #2246
Assignees
Labels
bug Something isn't working
Milestone

Comments

@jcamiel
Copy link
Collaborator

jcamiel commented Oct 15, 2023

Discussed in #2013

Originally posted by mm202 October 5, 2023
Hi,

I am a new hurl user and therefore, not quite sure whether my problem is an issue or just me beeing stupid^^

I would like to make a POST request and use a client certificate (.pfx) that is encrypted with a password. As far as I understand the documentation, this should work with:

hurl --cert ./certificate.pfx:password

Unfortunately, this results in an error message: "error: no such file". It seems to me, hurl interprets the password as part of the file path.

After splitting the .pfx file in a cert.crt and a key.key file without a password, the request works as expected.

OS: macos Sonoma
Terminal: iterm2
hurl: installed via homebrew a few days ago

Is this a bug or is there anything I am doing wrong?

Thank you!

Ragards
Martin

@jcamiel jcamiel added the bug Something isn't working label Oct 15, 2023
@fabricereix fabricereix added this to the 4.2.0 milestone Nov 8, 2023
@jcamiel jcamiel self-assigned this Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants