Go 1.18 uses the Windows platform APIs to verify certificates (as proposed 
in https://go.dev/issue/46287).

The specific changes are summarized 
in https://go.dev/doc/go1.18#crypto/x509.

On Sunday, May 15, 2022 at 6:01:55 PM UTC-4 sre.ag...@gmail.com wrote:

> Hi All,
>
> I am trying to use X509 package with Window Certificate store.
>
> It looks like the X509/SystemCertPool implementation on Windows just 
> returns an empty cert pool.
>
>
> https://github.com/golang/go/blob/335569b59804f8d14bdb9c7ee2e8b0c2268226ae/src/crypto/x509/root_windows.go#L13
>
> In the older golang versions, this API used to be blocked on Windows 
> specifically. But that restriction got removed.
>
> I am trying to understand the expected behavior. Am I missing something or 
> there is some other way of using this API?
>
> -Vivek
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/e8967593-69f6-4b8d-acb1-c7a7642e33ban%40googlegroups.com.

Reply via email to