Documentation ¶
Index ¶
- func DecodePemFiles(certInput []byte) tls.Certificate
- func ParseCertificateChain(certLocation string) (*x509.Certificate, *x509.CertPool, *x509.Certificate, error)
- func PromptAddRootCAToTrustStore() (bool, error)
- func PromptAndVerifySSL(osType config.OperatingSystem) (string, string, error)
- func PromptMisMatchedHostName() (bool, error)
- func PromptRootCAMissing() (bool, error)
- func PromptSSL() (bool, error)
- func PromptSSLFilePath() (string, error)
- func PromptSSLKeyFilePath() (string, error)
- func PromptServerURL() (string, error)
- func TrustRootCertificate(rootCA *x509.Certificate, osType config.OperatingSystem) error
- func VerifySSLCertAndKeyMD5Match(certLocation string, keyLocation string) error
- func VerifySSLHostMatch(serverCert *x509.Certificate) (bool, error)
- func VerifyTrustedCertificate(serverCert *x509.Certificate, intermediateCA *x509.CertPool) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodePemFiles ¶ added in v0.0.18
func DecodePemFiles(certInput []byte) tls.Certificate
func ParseCertificateChain ¶ added in v0.0.18
func ParseCertificateChain(certLocation string) (*x509.Certificate, *x509.CertPool, *x509.Certificate, error)
func PromptAddRootCAToTrustStore ¶ added in v0.0.18
func PromptAndVerifySSL ¶ added in v0.0.18
func PromptAndVerifySSL(osType config.OperatingSystem) (string, string, error)
func PromptMisMatchedHostName ¶ added in v0.0.18
func PromptRootCAMissing ¶ added in v0.0.22
func PromptSSLFilePath ¶
PromptSSLFilePath Prompt asking users for a filepath to their SSL cert
func PromptSSLKeyFilePath ¶
PromptSSLKeyFilePath Prompt asking users for a filepath to their SSL cert key
func PromptServerURL ¶ added in v0.0.24
PromptServerURL asks users for the server URL
func TrustRootCertificate ¶ added in v0.0.22
func TrustRootCertificate(rootCA *x509.Certificate, osType config.OperatingSystem) error
func VerifySSLCertAndKeyMD5Match ¶ added in v0.0.18
VerifySSLCertAndKeyMD5Match Verify the SSL cert and key are valid
func VerifySSLHostMatch ¶ added in v0.0.18
func VerifySSLHostMatch(serverCert *x509.Certificate) (bool, error)
func VerifyTrustedCertificate ¶ added in v0.0.18
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.