Created on
09-09-2024
11:01 AM
Edited on
08-27-2025
11:34 PM
By
Jean-Philippe_P
This article describes the procedure to configure certificate authentication for specific user groups rather than applying the requirement to all user groups globally through the GUI.
FortiGate.
Enabling 'Require Client Certificate' in the SSL VPN settings via GUI will result in enabling certificate authentication for all the SSL VPN portals and authentication rules.
Initial configuration for certificate-based authentication must be completed before enabling it for a specific user group. For details on the initial setup, refer to the SSL VPN with certificate authentication.
To enable certificate authentication only for a particular user group, enable 'client-cert' in the authentication rules of the SSL VPN settings, as shown below.
config vpn ssl settings
config authentication-rule
edit 1
set groups "Cert-Auth-User"
set portal "For Cert Auth"
set client-cert enable
next
edit 2
set users "test"
set portal "full-access"
next
Note:
This configuration does not require enabling the 'Require Client Certificate' option in the SSL VPN settings on the GUI.
To connect the client to SSL VPN using a certificate, select the certificate in the FortiClient application:
If the certificate is trusted, it should connect to the authentication rule ID 1.
Users who are not part of the user group 'Cert-Auth-User' should not match with the authentication rule ID 1 and do not need the certificate to authenticate for the SSL VPN connection.
Related articles:
Troubleshooting Tip: SSL VPN Troubleshooting
Troubleshooting Tip: Common SSL VPN problems and their solutions
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.