#openssl #probe

build openssl-probe

Tool for helping to find SSL certificate locations on the system for OpenSSL

6 releases

0.1.6 Jan 23, 2025
0.1.5 Jan 12, 2022
0.1.4 May 11, 2021
0.1.3 Aug 4, 2020
0.1.0 Nov 6, 2016

#23 in Cryptography

Download history 1966846/week @ 2025-01-31 2093730/week @ 2025-02-07 2035539/week @ 2025-02-14 2228040/week @ 2025-02-21 2370088/week @ 2025-02-28 2523708/week @ 2025-03-07 2525734/week @ 2025-03-14 3129414/week @ 2025-03-21 2344963/week @ 2025-03-28 2537681/week @ 2025-04-04 2293747/week @ 2025-04-11 2101874/week @ 2025-04-18 2108415/week @ 2025-04-25 2162603/week @ 2025-05-02 2251718/week @ 2025-05-09 1890022/week @ 2025-05-16

8,819,311 downloads per month
Used in 7,204 crates (71 directly)

MIT/Apache

10KB
120 lines

openssl-probe

Tool for helping to find SSL certificate locations on the system for OpenSSL

Crates.io docs.rs

Usage

First, add this to your Cargo.toml:

[dependencies]
openssl-probe = "0.1.6"

Then add this to your crate:

fn main() {
    let result = openssl_probe::probe();
    if let Some(dir) = &result.cert_dir {
        //... your code
    }
    if let Some(file) = &result.cert_file {
        //... your code
    }
}

License

openssl-probe is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, and LICENSE-MIT for details.

No runtime deps