I want to enable tls mode for go-grpc. But I get a connection error at the check tls step
connection error: desc = "transport: authentication handshake failed: remote error: tls: unrecognized name"
I am trying to create a certificate via cfssl - config
My cert view:
Certificate:
Data:
Version: 3 (0x2)
Serial Number:
5d:31:fa:b4:45:04:46:8b:2c:48:1e:3d:23:29:1c:30:f4:9c:5b:b1
Signature Algorithm: sha256WithRSAEncryption
Issuer: C = RU, ST = Moscow, L = Moscow, O = Shortlink, OU = Moscow, CN = localhost
Subject: C = RU, ST = Moscow, L = Moscow, O = Shortlink, OU = Moscow, CN = localhost
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public-Key: (2048 bit)
Modulus:
00:c9:da:...
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Key Usage: critical
Digital Signature, Key Encipherment
X509v3 Extended Key Usage:
TLS Web Client Authentication, TLS Web Server Authentication
X509v3 Basic Constraints: critical
CA:FALSE
X509v3 Subject Key Identifier:
10:12:95:E3:6E:A6:E0:B9:85:02:AB:93:F4:F2:89:C5:4F:F9:F3:6E
X509v3 Subject Alternative Name:
DNS:localhost
Config go-grpc: github
and all certs: gist