Replies: 1 comment
-
Most-likely an issue in the cert-store specific code path for certificate signatures, see #7306. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We are trying to connect a server and a client via TLS with self-signed certs. For this purpose we have generated the certificates as detailed in the page https://docs.nats.io/running-a-nats-service/configuration/securing_nats/tls .
What Works
When we load the certs by cert_file and key_file, it works. The server and client talk just fine.
What doesn't Work
We create a certificate bundle using
When we load that certificate via thumbprint from the windows certificate store, it does not work. We have verified that loading succeeds because if the thumbprint (or subject) are wrong, loading fails. We have traced that the nats server goes beyond the point of loading the certs.
When the connection is being established, we get BadSignature errors on the client side
and on the server side:
In wireshark, we see that a tls connection attempt is made but ends early.
We see that the difference between the two executions is the different
crypto.Signer
interfaceswinKey
and an RSA key. The certificate data are equal, at least.Question
Are we holding it wrong, or could it be there is an issue in nats-server?
Beta Was this translation helpful? Give feedback.
All reactions