Skip to content

Commit

Permalink
Merge pull request #13 from isodude/master
Browse files Browse the repository at this point in the history
truststore_linux: Add support for SUSE13 and upwards
  • Loading branch information
maraino authored Sep 1, 2022
2 parents 2ad2edd + c55fe9f commit 61bb939
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions truststore_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ func init() {
} else if pathExists("/usr/local/share/ca-certificates/") {
SystemTrustFilename = "/usr/local/share/ca-certificates/%s.crt"
SystemTrustCommand = []string{"update-ca-certificates"}
} else if pathExists("/usr/shared/pki/trust/anchors/") {
SystemTrustFilename = "/usr/shared/pki/trust/anchors/%s.crt"
SystemTrustCommand = []string{"update-ca-certificates"}
} else if pathExists("/etc/ca-certificates/trust-source/anchors/") {
SystemTrustFilename = "/etc/ca-certificates/trust-source/anchors/%s.crt"
SystemTrustCommand = []string{"trust", "extract-compat"}
Expand Down

0 comments on commit 61bb939

Please sign in to comment.