Tokio_openssl connect method signature

⚓ Rust    📅 2025-07-10    👤 surdeus    👁️ 3      

surdeus

I'm trying to use this tokio_openssl connect method to connect to target server.
I notice that in openssl's connect method, it took domain argument while tokio_openssl take no domain name.

If I connect to target server via something like "127.0.0.1:1234" which have actual domain name as "TEST_DOMAIN", how do I use tokio_openssl to verify that the target IP have cert with "TEST_DOMAIN" as SN ?

2 posts - 1 participant

Read full topic

🏷️ rust_feed