certs

package
v0.0.0-...-9f38e0b Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2016 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckConfig

func CheckConfig(config *config.Config) error

This function shall check a config by performing the following actions: * Iterate the HostCertMap, and for each CertPaths in it:

  • If one of the cert files doesn't exist:
  • If Config.CreateMissingCerts:
  • Try to create the missing cert files or report error
  • Else report error that cert files are missing

func CreateCert

func CreateCert(host string, cPath *config.CertPaths) error

Function to create (missing) cert files

Types

This section is empty.

Jump to

Keyboard shortcuts

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