SkipTLSValidation will skip root certificate verification for HTTPS. Not recommended!
(skipTLSvalidation bool)
| 70 | |
| 71 | // SkipTLSValidation will skip root certificate verification for HTTPS. Not recommended! |
| 72 | func SkipTLSValidation(skipTLSvalidation bool) Option { |
| 73 | return func(c *CredHub) error { |
| 74 | c.insecureSkipVerify = skipTLSvalidation |
| 75 | return nil |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | // ClientCert will use a certificate for authentication |
| 80 | func ClientCert(certificate, key string) Option { |
no outgoing calls
searching dependent graphs…