itsjunetime commented on issue #6568:
URL: https://github.com/apache/arrow-rs/issues/6568#issuecomment-2422883836
These certificates are identical to the ones in the tonic repo
(`examples/data/tls/client1.pem`) and it seems they've neglected to update
them. For example, you can do the following:
1. Clone the tonic repo
2. `cd tonic/examples`
3. `cargo run --bin tls-client-auth-server`
4. Open a new terminal window, cd to the same place, and run `cargo run
--bin tls-client-auth-client`
5. Observe the following error: `Error: Status { code: Unknown, message:
"transport error", source: Some(tonic::transport::Error(Transport,
hyper::Error(Io, Custom { kind: InvalidData, error: "received fatal alert:
CertificateExpired" }))) }`
I think we need to regen the root CA (`ca.pem`) as well as the certs to make
the tests work, but I haven't verified this.
I also think this warrants opening an issue in the tonic repo, so I'll do
that next.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]