update_device_sslvpn_settings
Update SSL-VPN settings on a managed FortiManager device, changing only the fields you provide for port, authentication, certificates, DNS, timeouts, and TLS version.
Instructions
Update the SSL-VPN (Agentless VPN) settings object in a device's device DB.
Only provided fields change -- see get_device_sslvpn_settings for the current state to base a partial update on.
Args: device: Managed device name status: Enable/disable SSL-VPN: "disable" or "enable" port: SSL-VPN access port (1-65535) source_interface: Source interface names of incoming traffic default_portal: Default web portal name (see update_device_sslvpn_web_portal) servercert: Server certificate name to present to clients idle_timeout: Idle timeout in seconds before disconnect auth_timeout: Authentication timeout in seconds (1-259200, 0 = no timeout) dns_server1: Primary DNS server handed to clients dns_server2: Secondary DNS server handed to clients reqclientcert: Require client certificates: "disable" or "enable" https_redirect: Redirect port 80 to the SSL-VPN port: "disable" or "enable" ssl_min_proto_ver: Minimum TLS version: "tls1-0", "tls1-1", "tls1-2" or "tls1-3" vdom: VDOM the settings apply to (default "root")
Returns: Update result
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| vdom | No | root | |
| device | Yes | ||
| status | No | ||
| servercert | No | ||
| dns_server1 | No | ||
| dns_server2 | No | ||
| auth_timeout | No | ||
| idle_timeout | No | ||
| reqclientcert | No | ||
| default_portal | No | ||
| https_redirect | No | ||
| source_interface | No | ||
| ssl_min_proto_ver | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||