Skip to content

Commit

Permalink
test tls ip match
Browse files Browse the repository at this point in the history
  • Loading branch information
aaperis committed Aug 20, 2024
1 parent c80a501 commit c2e4468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sda/cmd/reencrypt/reencrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func main() {

// Start proxy health server
p := grpc.NewServer()
healthgrpc.RegisterHealthServer(p, &hServer{srvCert: serverCert, srvCACert: caCert, srvHost: conf.ReEncrypt.Host, srvPort: conf.ReEncrypt.Port})
healthgrpc.RegisterHealthServer(p, &hServer{srvCert: serverCert, srvCACert: caCert, srvHost: "127.0.0.1", srvPort: conf.ReEncrypt.Port})

healthServerListener, err := net.Listen("tcp", fmt.Sprintf("%s:%d", conf.ReEncrypt.Host, conf.ReEncrypt.Port+1))
if err != nil {
Expand Down

0 comments on commit c2e4468

Please sign in to comment.