-
Notifications
You must be signed in to change notification settings - Fork 39
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
Add Config::add_root_certificate for trusting custom ca #239
Add Config::add_root_certificate for trusting custom ca #239
Conversation
df805ff
to
0fe3b14
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR needs rebase
.gitignore
Outdated
@@ -3,3 +3,4 @@ Cargo.lock | |||
.envrc | |||
default.nix | |||
shell.nix | |||
.idea |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this need not be in the commit. Depends on dev workflow, ide.
Can we worked around by using gobal .gitignore on dev system
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed.
38408c0
to
527690c
Compare
Surprised, what did you notice that made it look like it needed a rebase? It was rebased about 5 months ago. It should be current with the default branch now in any case. |
When this PR was originally authored 2 years ago, Do you want me to upgrade this PR to hyper 1.x, or leave it on version 0.14? |
can you upgrade to hyper 1.x and it'll be good to go! |
527690c
to
b28ddc1
Compare
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
I assume you are ok with a MSRV increase with this PR? Do you want it to be the oldest possible passing version, or a newer version? |
looks like we need to move to v0.14.28 |
b28ddc1
to
72789d2
Compare
72789d2
to
5c7dedd
Compare
|
Support connecting to registries with self-signed certificates and certificates signed by CAs that are not in the client system trust store.
Simply passes thru the certificate along to a
reqwest
builder method by the same name.Adds two tests:
Both tests are a part of the
test-mock
feature.