{"id":75027,"library":"openssl-verify","title":"OpenSSL Verify","description":"Hostname verification for OpenSSL connections.","status":"active","version":"0.2.0","language":"rust","source_language":null,"source_url":"https://github.com/sfackler/rust-openssl-verify","tags":["openssl","tls","hostname","verification","security"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nopenssl-verify = \"0.2.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add openssl-verify","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"X509VerifyParamRefExt","correct":"use openssl_verify::X509VerifyParamRefExt;"}],"quickstart":{"code":"use openssl_verify::X509VerifyParamRefExt;\nuse openssl::ssl::SslContextBuilder;\n\nlet mut builder = SslContextBuilder::new(openssl::ssl::SslMethod::tls()).unwrap();\nbuilder.set_verify_callback(openssl::ssl::SslVerifyMode::PEER, |_, x509| {\n    x509.verify_hostname(\"example.com\").is_ok()\n});","lang":"rust","description":"Verify hostname during TLS handshake."},"warnings":[{"fix":"Ensure system OpenSSL version is compatible or use a different TLS library.","message":"Requires OpenSSL 1.0.2+ or LibreSSL for hostname verification support.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"search_vec":"'connect':7 'hostnam':3,10 'openssl':1,6,8 'secur':12 'tls':9 'verif':4,11 'verifi':2","created_at":"2026-06-17T19:11:29.256280+00:00","updated_at":"2026-06-17T19:11:29.256280+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/sfackler/rust-openssl-verify","github":"https://github.com/sfackler/rust-openssl-verify","docs":"https://docs.rs/openssl-verify/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking","crypto"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}