Just to close the thread, the error was on my side. When creating self-signed certificate, make sure that appropriate KeyUsage and BasicConstrains flags are set. Apperently, gRPC checks them, and if for example X509KeyUsageFlags.KeyCertSign is not set, the handshake protocol will fail.
Thanks, Ugi -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/bb04bf2f-3a6c-4860-b77f-8c8913b20ce4%40googlegroups.com.
