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

Adding ca_chain_with_root_store! to ssl.jl #210

Closed
wants to merge 12 commits into from

Conversation

phyatt-corp
Copy link

Recently I had a requirement to support reading certificates out of the Windows root certificate stores ("CA", "AuthRoot", "Root", "TrustedPublisher") instead of the cacert.pem file for our Julia application.

I added that functionality and made it the default for Windows (see line 135 in MbedTLS.jl), so it would easily get used in HTTP.jl . This could be made the non-default to make this have a smaller impact; also I only worked with x64 windows machines.

It respects the CRLs found in Windows, but doesn't do anything with OCSPs or OCSP Stapling. Also I discovered a DISALLOWED_FILETIME property while comparing my certificates found from Windows API calls to the ones listed in the Windows Certificate Manager. (Mbed-TLS/mbedtls#2914)

@codecov-io
Copy link

codecov-io commented Nov 11, 2019

Codecov Report

Merging #210 into master will decrease coverage by 13.59%.
The diff coverage is 3.05%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #210      +/-   ##
==========================================
- Coverage   71.95%   58.35%   -13.6%     
==========================================
  Files          12       14       +2     
  Lines         542      670     +128     
==========================================
+ Hits          390      391       +1     
- Misses        152      279     +127
Impacted Files Coverage Δ
src/x509_crl.jl 0% <0%> (ø)
src/ssl_windows.jl 0% <0%> (ø)
src/MbedTLS.jl 98.03% <100%> (+0.03%) ⬆️
src/ssl.jl 66.82% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0eaf7df...4e23b51. Read the comment docs.

@peteristhegreat
Copy link

Fixes #200 for Windows.

@s2maki s2maki deleted the ph-windows-root branch August 11, 2021 16:17
@quinnj quinnj closed this Jul 31, 2022
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.

4 participants