open-consul/tlsutil
Hans Hasselberg 707efc5b39 tls: return auto_encrypt cert for listeners (#6489)
* fix cert check

* fix lock

* add tests

* test: add comments describing expected behavior for auto-encrypt and manual certificates

* test: expect nil *tls.Certificate for empty string certFile or keyFile arg
2019-11-12 13:40:32 -05:00
..
config.go tls: return auto_encrypt cert for listeners (#6489) 2019-11-12 13:40:32 -05:00
config_test.go tls: return auto_encrypt cert for listeners (#6489) 2019-11-12 13:40:32 -05:00
generate.go
generate_test.go