> Ah, thanks for the work around!
>
> It would still be good to have it work in a safe way though.
You can use your own set of root certs with a tls.Config. Setup is
something like:
* x509.NewCertPool to create a new cert pool
* AppendCertsFromPEM to add your root certs to the pool
* Create a tls.Config and set RootCAs to your pool
* Call Config's BuildNameToCertificate
* Use the Config in your http.Transport
My working code is bundled with a bunch of other goop at the moment,
but that should be enough to get you started.
-josh
> --
> 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...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.