mirror of
https://github.com/containers/podman.git
synced 2026-07-11 15:55:22 -04:00
This is a follow up of https://github.com/containers/podman/pull/28336 where we implemented the import of the certificates on Windows. This PR implements the same feature on macOS and Linux. Fixes https://redhat.atlassian.net/browse/RUN-4552 Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
10 lines
330 B
Go
10 lines
330 B
Go
package certificates
|
|
|
|
var certBundlePaths = []string{
|
|
"/etc/ssl/certs/ca-certificates.crt", // Debian/Ubuntu
|
|
"/etc/pki/tls/certs/ca-bundle.crt", // RHEL/Fedora/CentOS
|
|
"/etc/ssl/ca-bundle.pem", // OpenSUSE
|
|
"/etc/pki/tls/cacert.pem", // OpenELEC
|
|
"/etc/ssl/cert.pem", // Alpine Linux
|
|
}
|