You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using gnoic to deploy certs to different vendor boxes for GRPC TLS. It works great for Nokia.
On another vendor's router, the cert install command works. After installation, I can enable GRPC TLS and successfully connect with gnmic using --skip-verify. If I remove --skip-verify and use "--tls-ca cert.pem" to auth the cert, I see this in the debug:
Err: connection error: desc = "transport: authentication handshake failed: x509: certificate relies on legacy Common Name field, use SANs instead"
This vendor has a method of generating it's own cert with itself as a CA. When I look at the cert it generates I see the same "X509v3 Subject Alternative Name: " entry:
Since then the certificate life cycle management moved on to gNSI
What can be done here is to use gNOIc to generate the CSR locally with the flag --gen-csr i.e case2.
I can improve gNOIc to allow SANs in a CSR if case2 flow is used.
I am using gnoic to deploy certs to different vendor boxes for GRPC TLS. It works great for Nokia.
On another vendor's router, the cert install command works. After installation, I can enable GRPC TLS and successfully connect with gnmic using --skip-verify. If I remove --skip-verify and use "--tls-ca cert.pem" to auth the cert, I see this in the debug:
Err: connection error: desc = "transport: authentication handshake failed: x509: certificate relies on legacy Common Name field, use SANs instead"
It looks like this vendor requires a cert with Subject Alternative Name set. Example found on google: https://security.stackexchange.com/questions/74345/provide-subjectaltname-to-openssl-directly-on-the-command-line
This vendor has a method of generating it's own cert with itself as a CA. When I look at the cert it generates I see the same "X509v3 Subject Alternative Name: " entry:
The one that GNOIC creates does not have this "Subject Alternative Name" and I don't see a way to add it.
Could you add this feature?
Thanks and great tool!!
Serge
The text was updated successfully, but these errors were encountered: