package
0.0.0-20210216010906-4d9adbad0913
Repository: https://github.com/jaywalker/go-certauth.git
Documentation: pkg.go.dev

# Functions

LoadCACertFile reads in a CA cert file that may contain multiple certs and gives you back a proper x509.CertPool for your fun and proffit.
LoadKeyCertFiles is a helper function for loading keypairs.
NewTLSConfig returns a *tls.Config that is pre-configured to match (roughly) the Mozilla recommended TLS specification.
NewTLSServer sets up a Pantheon(TM) type of tls server that Requires and Verifies peer cert.

# Constants

Based on https://blog.gopheracademy.com/advent-2016/exposing-go-on-the-internet/ and the Mozilla TLS recommendations: https://wiki.mozilla.org/Security/Server_Side_TLS.
Based on https://blog.gopheracademy.com/advent-2016/exposing-go-on-the-internet/ and the Mozilla TLS recommendations: https://wiki.mozilla.org/Security/Server_Side_TLS.
Based on https://blog.gopheracademy.com/advent-2016/exposing-go-on-the-internet/ and the Mozilla TLS recommendations: https://wiki.mozilla.org/Security/Server_Side_TLS.

# Structs

TLSServerConfig is the configuration you use to create a TLSServer.

# Type aliases

TLSConfigLevel declares a TLS configuration level returned by the NewTLSConfig func.