Closed idc77 closed 1 year ago
use -plaintext
it's misleading because curl uses -k and describes it as insecure.
@idc77, FWIW, curl's -k
and --insecure
flags provide the same behavior as grpcurl.
-k, --insecure
(TLS) By default, every SSL connection curl makes is verified to be secure. This option allows
curl to proceed and operate even for server connections otherwise considered insecure.
The server connection is verified by making sure the server's certificate contains the right
name and verifies successfully using the cert store.
See this online resource for further details:
https://curl.se/docs/sslcerts.html
WARNING: this makes the transfer insecure.
Example:
curl --insecure https://example.com
The -plaintext
flag is unfortunately not consistent with curl just because curl let's you indicate plaintext or not via a URL prefix, i.e. "http://" vs. "https://".
In this case "insecure" means using TLS but not actually secure (because it's skipping verification of the TLS cert).
go install github.com/fullstorydev/grpcui/cmd/grpcui@latest