Documentation ¶
Overview ¶
Package certs provides helper libraries for generating self-signed certificates, which we use locally for authorizing users to read packet data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientVerifyingTLSConfig ¶
ClientVerifyingTLSConfig returns a TLS config which verifies that clients have a certificate signed by the CA certificate in the certFile.
func WriteNewCerts ¶
WriteNewCerts generates a self-signed certificate pair for use in locally authorizing clients. If 'server' is true, it writes out certs which can be used to verify the server, otherwise it writes out certs clients can use to authorize themselves to the server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.