#ssl-certificate #openssl #tls-certificates #system #location #find

openssl-probe

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

6 releases

new 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 1935993/week @ 2024-10-09 1998423/week @ 2024-10-16 1516632/week @ 2024-10-23 1416842/week @ 2024-10-30 1435509/week @ 2024-11-06 1484909/week @ 2024-11-13 1471309/week @ 2024-11-20 1263563/week @ 2024-11-27 1570455/week @ 2024-12-04 1678250/week @ 2024-12-11 1173286/week @ 2024-12-18 682762/week @ 2024-12-25 1101153/week @ 2025-01-01 1662539/week @ 2025-01-08 1627790/week @ 2025-01-15 1437488/week @ 2025-01-22

5,936,411 downloads per month
Used in 6,644 crates (70 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