Support Center > Search Results > SecureKnowledge Details
Customize the certificate warning dialog in Remote Access VPN clients Technical Level
Solution

Description

Starting in E85.40, you can customize the certificate warning dialog and change the text of the warning.

Configuration

Configure the text through the trust_certificate_custom_warning_message parameter in the trac_client_1.ttm file or in the trac.defaults file. The maximum length of the text is 1000 characters.

trac.defaults

  • The default value is an empty string. To change the text of the certificate warning dialog, set its value to some text. Basic HTML tags are allowed:
trust_certificate_custom_warning_message    STRING    "<b>Lorem ipsum dolor sit amet</b>, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut tristique et egestas quis ipsum. Lacus vestibulum sed arcu non odio euismod. Sit amet est placerat in. Tempus quam pellentesque nec nam. Nam at lectus urna duis convallis convallis tellus id interdum. <a href=https://google.com>Augue eget arcu dictum varius duis at consectetur.</a> Velit dignissim sodales ut eu sem integer vitae. Etiam dignissim diam quis enim lobortis scelerisque fermentum. Lorem mollis aliquam ut porttitor leo a diam sollicitudin tempor. Ut placerat orci nulla pellentesque. Mi sit amet mauris commodo quis imperdiet. Amet porttitor eget dolor morbi non arcu risus."       GW_USER    0

  • If you change the parameter on an already installed VPN client, stop and start the VPN service.

trac_client_1.ttm

  • To change the text of the certificate warning dialog through the Gateway settings, add the trust_certificate_custom_warning_message parameter to the trac_client_1.ttm file:

:trust_certificate_custom_warning_message (
    :gateway (
        :default ("<b>Lorem ipsum dolor sit amet</b>, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut tristique et egestas quis ipsum. Lacus vestibulum sed arcu non odio euismod. Sit amet est placerat in. Tempus quam pellentesque nec nam. Nam at lectus urna duis convallis convallis tellus id interdum. <a href=https://google.com>Augue eget arcu dictum varius duis at consectetur.</a> Velit dignissim sodales ut eu sem integer vitae. Etiam dignissim diam quis enim lobortis scelerisque fermentum. Lorem mollis aliquam ut porttitor leo a diam sollicitudin tempor. Ut placerat orci nulla pellentesque. Mi sit amet mauris commodo quis imperdiet. Amet porttitor eget dolor morbi non arcu risus.")
    )
)

  • The setting takes effect on the next connection.

Supported HTML Tags

  • These HTML tags are supported:
Tag Description Comment
<a> Anchor or link     Supports the href and name attributes
<b> Bold Bold text
<i> Italic Italic text
  • Other HTML tags are not supported.

Related Solutions

sk175243 - Hardening the certificate check in Remote Access VPN clients
This solution has been verified for the specific scenario, described by the combination of Product, Version and Symptoms. It may not work in other scenarios.

Give us Feedback
Please rate this document
[1=Worst,5=Best]
Comment