connect/native: give tls files an extension

This commit is contained in:
Seth Hoenig 2020-06-23 12:06:28 -05:00
parent 6c5ab7f45e
commit c5d3f58bee
1 changed files with 3 additions and 3 deletions

View File

@ -108,9 +108,9 @@ func (h *connectNativeHook) Prestart(
}
const (
secretCAFilename = "consul_ca_file"
secretCertfileFilename = "consul_cert_file"
secretKeyfileFilename = "consul_key_file"
secretCAFilename = "consul_ca_file.pem"
secretCertfileFilename = "consul_cert_file.pem"
secretKeyfileFilename = "consul_key_file.pem"
)
func (h *connectNativeHook) copyCertificates(consulConfig consulTransportConfig, dir string) error {