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

Support SSL client certificate options per request #808

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

cplussharp
Copy link

extend cUrl parser to parse:

  • -E or --cert
  • --key
  • --pass
  • --cacert

extend httpRequest to have https options.

prefere https options of the request
over the https options from the settings

extend cUrl parser to parse:
* -E or --cert
* --key
* --pass
* --cacert

extend httpRequest to have https options.

prefere https options of the request
over the https options from the settings
extract and highlight https options from the
per request settings comments
- resolve variables before processing the options
- reference the variable usage inside the "comment"
- provide error if the variable was not found
@cplussharp cplussharp changed the title Support cUrl SSL client certificate options Support SSL client certificate options per request Apr 15, 2021
@cplussharp cplussharp marked this pull request as draft April 16, 2021 20:22
command line options where only used, if the request had https options
system/env/dotenv variables have a space inside
so now the regex interprets everything after the var name as value
(before only the first "word without space" was used)
as the history http file is created in a temp dir:
resolve relative certificate paths in place
so the history has the absolute path
as HAR does not support https options,
the CLI parameters are added manualy
@cplussharp cplussharp marked this pull request as ready for review April 17, 2021 08:19
@cplussharp
Copy link
Author

This should now cover every places: httpParser, curlParser, syntax highlighting, variable support, history, curl command generation and output of the parameters in response view. The only thing not working is the CodeSnipped generator, because "httpsnipped" does not support client certificates :-(

the httpsArgs with the certificate where overriden by the key args
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant