Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
proposal: crypto/x509: add support to get SSL context from certificate store on windows #23282
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
changed the title
Add support to get ssl context for x509 from certificate store windows
Dec 29, 2017
@tsaridas your request seems too general. Could you tell us what exactly are you trying to do?
I briefly looked at this article, but it talks about many different things. What is your problem that you are trying to solve?
I think this might be asking for a way to service client-certificate requests using CAPI—i.e. if you have a client cert setup in Windows, Go should be able to use it automatically.
This is plausible, but it's a bunch of work and I feel that it's very unlikely to happen until it's needed by someone capable of implementing it. Even then, it's probably something for an external package rather than the stdlib.
@agl is right, that is what this request is about but also being able to use this certificate to perform a https call to a server that requires x509 client authentication.
Or some documentation on how to do this in go would be really useful.
You can implement this functionality as a
I agree that this would probably be best implemented by an external package, and by someone with direct expertise/need. Chasing the Windows API for certificate validation has been painful in the past.