luci-base: add system cert bundle detection
authorDavid Lam <david@thedavid.net>
Thu, 16 Jan 2020 09:15:40 +0000 (01:15 -0800)
committerJo-Philipp Wich <jo@mein.io>
Thu, 7 May 2020 17:40:49 +0000 (19:40 +0200)
commit855264221c50e9f1acefa3bbc76e44806e6a5b75
tree540ef87be84c43d9ae296be26c185dfaedc73cff
parent20ddfdeb4f5aca474a6566a33befafc56d480d62
luci-base: add system cert bundle detection

Add detection mechanism for system cert CA bundle installed by the
ca-bundle package. Used by LuCI to detect whether the "Use system
certificates" certificate validation option should be enabled.

Signed-off-by: David Lam <david@thedavid.net>
(cherry picked from commit 27b21c2a6262a8c383c783e98320746f22fe8f6f)
modules/luci-base/root/usr/libexec/rpcd/luci [changed mode: 0755->0644]