mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2026-11-03 16:44:05 +00:00
10 lines
294 B
Ruby
10 lines
294 B
Ruby
module W3DHubLauncher
|
|
def self.ca_bundle_path
|
|
[
|
|
"/etc/ssl/certs/ca-certificates.crt", # Debian/Ubuntu
|
|
"/etc/pki/tls/certs/ca-bundle.crt", # RHEL/Fedora/CentOS
|
|
"/etc/ssl/ca-bundle.pem" # Some other distros
|
|
].find { |path| File.exist?(path) }
|
|
end
|
|
end
|