Skip to content

Commit ec2c1f1

Browse files
committed
Fix getting certificates for meshing
1 parent 3dfb796 commit ec2c1f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli/server.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -929,6 +929,7 @@ func configureTLS(tlsMinVersion, tlsClientAuth string, tlsCertFiles, tlsKeyFiles
929929
if err != nil {
930930
return nil, xerrors.Errorf("load certificates: %w", err)
931931
}
932+
tlsConfig.Certificates = certs
932933
tlsConfig.GetCertificate = func(hi *tls.ClientHelloInfo) (*tls.Certificate, error) {
933934
// If there's only one certificate, return it.
934935
if len(certs) == 1 {

0 commit comments

Comments
 (0)