#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

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

#24 in Cryptography

Download history 1476009/week @ 2024-11-16 1270466/week @ 2024-11-23 1445080/week @ 2024-11-30 1781811/week @ 2024-12-07 1452987/week @ 2024-12-14 707367/week @ 2024-12-21 841392/week @ 2024-12-28 1504556/week @ 2025-01-04 1728415/week @ 2025-01-11 1610574/week @ 2025-01-18 1809401/week @ 2025-01-25 2005981/week @ 2025-02-01 2101332/week @ 2025-02-08 2110758/week @ 2025-02-15 2155797/week @ 2025-02-22 2046207/week @ 2025-03-01

8,753,157 downloads per month
Used in 6,834 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