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

On macOS populate root CAs via system cert store #26

Merged
merged 2 commits into from
Oct 8, 2018

Conversation

spoonincode
Copy link
Contributor

Add a method that can be used within fc’s http_client as well as cleos to populate the HTTPS trusted root certificates based on the system certificate store.

This does pose a behavior change for http_client (used within producer_plugin): previously it trusted no root CAs other then the one provided by the user. Now it will trust the system cert store.

Much of the logic to implement this function was taken from golang’s lib. I’ve included their license file.

Add a method that can be used within fc’s http_client as well as cleos to populate the HTTPS trusted root certificates based on the system certificate store.

This does pose a behavior change for http_client (used within producer_plugin): previously it trusted no root CAs other then the one provided by the user. Now it will trust the system cert store.

Much of the logic to implement this function was taken from golang’s lib. I’ve included their license file.
Because keosd connections cannot be kept alive at this time, constantly repopulating HTTPS root certs on each SSL connection is too much overhead.
@spoonincode spoonincode merged commit 29cd7df into master Oct 8, 2018
@spoonincode spoonincode deleted the macos_proper_https branch October 8, 2018 00:27
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.

1 participant