ServerCredentials credentials = ServerCredentials.Insecure; if (cfg.UseSSL) { var cacert = File.ReadAllText(cfg.CACertLocation); var servercert = File.ReadAllText(cfg.ServerCertLocation); var serverkey = File.ReadAllText(cfg.ServerKeyLocation); var keypair = new KeyCertificatePair(servercert, serverkey); credentials = new SslServerCredentials(new List<KeyCertificatePair> { keypair }, cacert, false); }
var server = new Server { Services = { BackendService.BindService(wanderBackendServiceImpl), ManagementService.BindService(management) }, Ports = { { hostAddress, port, credentials } } }; server.Start();--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/1b700a9b-edba-4212-95da-03c0c35c634d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
E0423 16:45:55.527496000 123145544478720 ssl_transport_security.cc:1233] Handshake failed with fatal error SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER.
E0423 16:46:00.529906000 123145543942144 ssl_transport_security.cc:1233] Handshake failed with fatal error SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER.
E0423 16:46:05.530279000 123145544478720 ssl_transport_security.cc:1233] Handshake failed with fatal error SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER.
E0423 16:46:10.533879000 123145543942144 ssl_transport_security.cc:1233] Handshake failed with fatal error SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER.
E0423 16:46:15.537614000 123145543942144 ssl_transport_security.cc:1233] Handshake failed with fatal error SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER.
E0423 16:46:25.543934000 123145543942144 ssl_transport_security.cc:1233] Handshake failed with fatal error SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER.
E0423 16:46:40.549839000 123145544478720 ssl_transport_security.cc:1233] Handshake failed with fatal error SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER.
To unsubscribe from this group and stop receiving emails from it, send an email to grp...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/b40f894a-7383-453a-a939-e117e61f8dfe%40googlegroups.com.