File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -136,8 +136,9 @@ impl ProbeResult {
136136
137137#[ cfg( target_os = "linux" ) ]
138138const CERTIFICATE_DIRS : & [ & str ] = & [
139- "/etc/ssl/certs" , // SLES 10, SLES 11
140- "/etc/pki/tls/certs" , // Fedora, RHEL
139+ "/etc/ssl/certs" , // SLES 10, SLES 11
140+ "/etc/pki/tls/certs" , // Fedora, RHEL
141+ "/etc/security/certificates" , // OpenHarmony, https://developer.huawei.com/consumer/en/doc/best-practices/bpta-network-ca-security#section121091116142117
141142] ;
142143
143144#[ cfg( target_os = "freebsd" ) ]
@@ -174,6 +175,7 @@ const CERTIFICATE_FILE_NAMES: &[&str] = &[
174175 "/etc/pki/tls/cacert.pem" , // OpenELEC (a media center Linux distro)
175176 "/etc/ssl/cert.pem" , // Alpine Linux
176177 "/opt/etc/ssl/certs/ca-certificates.crt" , // Entware, https://github.com/rustls/openssl-probe/pull/21
178+ "/etc/ssl/certs/cacert.pem" , // OpenHarmony, https://developer.huawei.com/consumer/cn/doc/harmonyos-faqs/faqs-network-41
177179] ;
178180
179181#[ cfg( target_os = "freebsd" ) ]
You can’t perform that action at this time.
0 commit comments