ssl

package
v0.0.0-...-336e61a Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2016 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddOrUpdateCertAndKey

func AddOrUpdateCertAndKey(name string, cert, key, ca []byte) (*ingress.SSLCert, error)

AddOrUpdateCertAndKey creates a .pem file wth the cert and the key with the specified name

func GetFakeSSLCert

func GetFakeSSLCert() ([]byte, []byte)

GetFakeSSLCert returns the snake oil ssl certificate created by the command make-ssl-cert generate-default-snakeoil --force-overwrite

func SearchDHParamFile

func SearchDHParamFile(baseDir string) string

SearchDHParamFile iterates all the secrets mounted inside the /etc/nginx-ssl directory in order to find a file with the name dhparam.pem. If such file exists it will returns the path. If not it just returns an empty string

Types

This section is empty.

Jump to

Keyboard shortcuts

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