certs

package
v0.0.0-...-6376860 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

README

Certificates

The keys and certificates listed in this directory are for only test purpose. If you would like to use this library in production, please generate and use your own key and certificate. Let's Encrypt provides this service for free.

Let's Encrypt: https://letsencrypt.org/

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadCACerts

func LoadCACerts(certsFilename string) (*x509.CertPool, error)

LoadCACerts loads the CA certificates (root certs).

func LoadClientCerts

func LoadClientCerts(rootCert, clientCert, clientKey, serverName string) (*tls.Config, error)

LoadClientCerts loads the client certificates.

func LoadServerCerts

func LoadServerCerts(rootCert, serverCert, serverKey string) (*tls.Config, error)

LoadServerCerts loads the server certificates.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL