rXg Knowledge Base

How can I use a config template to add cert validations hosts to a wan target?

February 28, 2024

Since validation hosts can vary, there is a button just above the certificates scaffold that will add the URLs of the sites used to validate the certificates to a wan target called: Certificate Validation Hosts.  However, if you want to accomplish the same thing using a configuration template, you can add the following to the template:
---
- SslKeyChain:
<%
wts = SslKeyChain.all.map(&:add_cert_validation_hosts_to_wan_target).compact
if wt = wts.last
  wt.captive_portals = CaptivePortal.all
end
%>
This WAN target should then be attached to the captive portal that clients are behind when joining the network.  This allows the client devices to validate the authenticity of the certificate on the rXg.

Categories
Configuration Guides
FAQ
3rd Party
Features and Capabilities
Known Issues

Tags
SoftGRE
RUCKUS
SmartZone
IPMI
Dell
Fleet Manager
ESXI
Hardware
Extreme
NAT
Bhyve
Upgrading
DHCP
Performance Improvements
DNS
Licensing
RADIUS
CLI
API
Configuration Templates
SD-WAN

Cookies help us deliver our services. By using our services, you agree to our use of cookies.