Skip to content

Using system cert pool#12

Merged
bsphere merged 3 commits intobsphere:masterfrom
caarlos0:certs
Sep 8, 2016
Merged

Using system cert pool#12
bsphere merged 3 commits intobsphere:masterfrom
caarlos0:certs

Conversation

@caarlos0
Copy link
Contributor

@caarlos0 caarlos0 commented Sep 8, 2016

Changed code to use x509.SystemCertPool().

Code now uses the system certificate pool, this way we don't have to dist the certs with the code.

This will only work on Go 1.7+ and is a breaker, so you might want to bump the tags.

This change was proposed first here.

@cpuguy83
Copy link

cpuguy83 commented Sep 8, 2016

I'm wondering do we even need to call into the system cert pool? Shouldn't go just use it?

@caarlos0
Copy link
Contributor Author

caarlos0 commented Sep 8, 2016

@cpuguy83 indeed, it isn't needed.

@bsphere bsphere merged commit d3308aa into bsphere:master Sep 8, 2016
@caarlos0 caarlos0 deleted the certs branch September 8, 2016 18:27
@caarlos0
Copy link
Contributor Author

caarlos0 commented Sep 8, 2016

Thanks :D

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.

3 participants