Well, FWIW, this still seems to be an issue in 2020 with Go 1.14

On Monday, November 5, 2018 at 6:25:53 AM UTC+1, jyo...@gmail.com wrote:
>
> Hi
>
> I'm trying to extract a certificates,keys from the .pfx file using the 
> call ToPEM.
>
> I get this error
>
> pkcs12: unknown attribute with OID 1.3.6.1.4.1.311.17.2
>
> I see Decode in pkcs12 package expects only one certificate and one key 
> file in the .pfx file. My scenario is it has multiple certs including 
> cacert in the .pfx form. So I used ToPEM call.
> But I get the above mentioned error.
>
> If anybody knows how to resolve this , pls let me  know
>
>
>

-- 
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/d237d3b9-d4ac-4603-b3cd-b515a7ad7015%40googlegroups.com.

Reply via email to