I have a grpc server written in go which is running in tls mode.
If I want to connect to the server from a nodejs client without verifying server's certificate chain and host name. How do I achieve that? (This is done by setting the InsecureSkipVerify Flag to true in tls Config in golang)
Default way to connect to a grpc server (not enabled in tls) is by using grpc.credentials.createInsecure() . but when I enable the server in tls mode and use grpc.credentials.createSsl() it gives me the following error log:
E1207 20:47:12.228100000 123145571782656 handshake.c:128] Security handshake failed: {"created":"@1481123832.228090000","description":"Handshake failed","file":"../src/core/lib/security/transport/handshake.c","file_line":264,"tsi_code":10,"tsi_error":"TSI_PROTOCOL_FAILURE"}
How do I get rid of this error and connect to the tls enabled grpc server without giving any certificates in the nodejs client??