Imported WebSocket client and supporting cert paths helper method

This commit is contained in:
2026-10-13 15:14:53 -05:00
parent f6fbd1bce1
commit 0e70fa35fe
2 changed files with 85 additions and 0 deletions

9
lib/common.rb Normal file
View File

@@ -0,0 +1,9 @@
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