| Crates.io | openssl-probe |
| lib.rs | openssl-probe |
| version | 0.2.1 |
| created_at | 2016-11-06 05:25:41.005024+00 |
| updated_at | 2026-01-20 19:53:29.225766+00 |
| description | A library for helping to find system-wide trust anchor ("root") certificate locations based on paths typically used by `openssl`. |
| homepage | https://github.com/rustls/openssl-probe |
| repository | https://github.com/rustls/openssl-probe |
| max_upload_size | |
| id | 7142 |
| size | 25,316 |
A library for helping to find system-wide trust anchor ("root") certificate
locations based on paths typically used by openssl.
For most users, rustls-platform-verifier or rustls-native-certs
are more convenient and robust ways to have TLS connections respect system
configuration. This is a lower-level library.
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
}
}
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.