Skip to content

Commit 8f13e70

Browse files
authored
Merge pull request #6 from jethrogb/rhel
Add path probing for modern RHEL-based systems
2 parents cb682cf + 1766566 commit 8f13e70

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "openssl-probe"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
authors = ["Alex Crichton <alex@alexcrichton.com>"]
55
license = "MIT/Apache-2.0"
66
repository = "https://github.com/alexcrichton/openssl-probe"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ First, add this to your `Cargo.toml`:
1111

1212
```toml
1313
[dependencies]
14-
openssl-probe = "0.1.1"
14+
openssl-probe = "0.1.2"
1515
```
1616

1717
Then add this to your crate:

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ pub fn find_certs_dirs() -> Vec<PathBuf> {
2222
"/usr/lib/ssl",
2323
"/usr/ssl",
2424
"/etc/openssl",
25+
"/etc/pki/ca-trust/extracted/pem",
2526
"/etc/pki/tls",
2627
"/etc/ssl",
2728
"/data/data/com.termux/files/usr/etc/tls",
@@ -66,6 +67,7 @@ pub fn probe() -> ProbeResult {
6667
"certs/ca-root-nss.crt",
6768
"certs/ca-bundle.crt",
6869
"CARootCertificates.pem",
70+
"tls-ca-bundle.pem",
6971
].iter() {
7072
try(&mut result.cert_file, certs_dir.join(cert));
7173
}

0 commit comments

Comments
 (0)