gRPC is based on http2
which must be use ssl.
But I found I can create use insecure server.
I want to know insecure
means that don't use ssl or use predefined certificate for http2?
gRPC is based on http2
which must be use ssl.
But I found I can create use insecure server.
I want to know insecure
means that don't use ssl or use predefined certificate for http2?
HTTP/2 does not insist on SSL/TLS. But all web browsers only implement HTTP2 over SSL/TLS because of problems when using it over plaintext HTTP over the Internet. So if not using a web browser but another HTTP/2 client than you can use HTTP/2 without SSL/TLS.
So yes insecure gRPC is using an unencrypted HTTP/2 connection (h2c). Though some implementations do not support this, similar to how web browsers do not support unencrypted HTTP/2 (h2c).
© 2022 - 2024 — McMap. All rights reserved.