debugging
This commit is contained in:
parent
0f7b2dbaf0
commit
8ad2a641f1
|
@ -136,7 +136,9 @@ func main() {
|
|||
|
||||
m := n.Machine(*grpcServer)
|
||||
|
||||
connCreds := credentials.NewTLS(&tls.Config{})
|
||||
connCreds := credentials.NewTLS(&tls.Config{
|
||||
InsecureSkipVerify: true,
|
||||
})
|
||||
creds := jwtcreds.NewFromToken(m.Get("password"))
|
||||
conn, err := grpc.Dial(*grpcServer,
|
||||
grpc.WithTransportCredentials(connCreds),
|
||||
|
|
|
@ -92,6 +92,7 @@ func New(cfg Config) (*Server, error) {
|
|||
|
||||
gs := grpc.NewServer(grpc.Creds(credentials.NewTLS(&tls.Config{
|
||||
GetCertificate: m.GetCertificate,
|
||||
InsecureSkipVerify: true,
|
||||
})))
|
||||
|
||||
proto.RegisterRoutesServer(gs, &Route{Server: s})
|
||||
|
|
Loading…
Reference in New Issue