Documentation
¶
Overview ¶
Package tlshelper wraps loading and modifying the root-CA store for use in tls.Config
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SystemRootsWithCert ¶
SystemRootsWithCert tries to load the system root store and to append the given certificate from a PEM encoded block into it. In case there is no pool an empty pool is used to add the certificate.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.