$ openssl s_client -connect cas-server.xethub.hf.co:443 -servername cas-server. xethub.hf.co
Connecting to 52.71.209.178
CONNECTED(00000003)
depth=2 C=US, O=Amazon, CN=Amazon Root CA 1
verify return:1
depth=1 C=US, O=Amazon, CN=Amazon RSA 2048 M03
verify return:1
depth=0 CN=cas-bridge.xethub.hf.co
verify return:1
Certificate chain
0 s:CN=cas-bridge.xethub.hf.co
i:C=US, O=Amazon, CN=Amazon RSA 2048 M03
a:PKEY: rsaEncryption, 2048 (bit); sigalg: RSA-SHA256
v:NotBefore: Jan 29 00:00:00 2025 GMT; NotAfter: Feb 27 23:59:59 2026 GMT
"timestamp":"2025-05-26T21:08:23.139684Z","level":"WARN","fields":{"message":"Reqwest(reqwest::Error { kind: Request, url: \"https://cas-server.xethub.hf.co/reconstruction/ead555725919f18abfb5b674d5438dee531369f4e77db078ffb3a50dec0d3f12\", source: hyper_util::client::legacy::Error(Connect, Ssl(Error { code: ErrorCode(1), cause: Some(Ssl(ErrorStack([Error { code: 167772294, library: \"SSL routines\", function: \"tls_post_process_server_certificate\", reason: \"certificate verify failed\", file: \"ssl/statem/statem_clnt.c\", line: 2092 }]))) }, X509VerifyResult { code: 20, error: \"unable to get local issuer certificate\" })) }). Retrying..."},"filename":"/home/runner/work/xet-core/xet-core/cas_client/src/http_client.rs","line_number":175}
{"timestamp":"2025-05-26T21:08:23.139733Z","level":"WARN","fields":{"message":"Retry attempt #0. Sleeping 1.407907729s before the next attempt"},"filename":"/root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-retry-0.6.1/src/middleware.rs","line_number":166}
{"timestamp":"2025-05-26T21:08:23.142706Z","level":"WARN","fields":{"message":"Reqwest(reqwest::Error { kind: Request, url: \"https://cas-server.xethub.hf.co/reconstruction/1626213712be57d779fda6b59cca00091f1fb2664416a49c01d0264a3f5462e0\", source: hyper_util::client::legacy::Error(Connect, Ssl(Error { code: ErrorCode(1), cause: Some(Ssl(ErrorStack([Error { code: 167772294, library: \"SSL routines\", function: \"tls_post_process_server_certificate\", reason: \"certificate verify failed\", file: \"ssl/statem/statem_clnt.c\", line: 2092 }]))) }, X509VerifyResult { code: 20, error: \"unable to get local issuer certificate\" })) }). Retrying..."},"filename":"/home/runner/work/xet-core/xet-core/cas_client/src/http_client.rs","line_number":175}
{"timestamp":"2025-05-26T21:08:23.142772Z","level":"WARN","fields":{"message":"Retry attempt #0. Sleeping 1.218760805s before the next attempt"},"filename":"/root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-retry-0.6.1/src/middleware.rs","line_number":166}
{"timestamp":"2025-05-26T21:08:23.150914Z","level":"WARN","fields":{"message":"Reqwest(reqwest::Error { kind: Request, url: \"https://cas-server.xethub.hf.co/reconstruction/a50ecfc9f1368880975b7cc77bb53a6d27746bc651c742251787ad6cbac0a926\", source: hyper_util::client::legacy::Error(Connect, Ssl(Error { code: ErrorCode(1), cause: Some(Ssl(ErrorStack([Error { code: 167772294, library: \"SSL routines\", function: \"tls_post_process_server_certificate\", reason: \"certificate verify failed\", file: \"ssl/statem/statem_clnt.c\", line: 2092 }]))) }, X509VerifyResult { code: 20, error: \"unable to get local issuer certificate\" })) }). Retrying..."},"filename":"/home/runner/work/xet-core/xet-core/cas_client/src/http_client.rs","line_number":175}
{"timestamp":"2025-05-26T21:08:23.150940Z","level":"WARN","fields":{"message":"Retry attempt #0. Sleeping 1.592819081s before the next attempt"},"filename":"/root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-retry-0.6.1/src/middleware.rs","line_number":166}
When using:
It tries to download from:
But the certificate that the server responds with, is for:
I was able to see this by running this command:
Here are some of the error messages: