FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
auppal
Staff
Staff
Article Id 339996
Description

 

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.

 

Scope

 

FortiGate.

 

Solution

 

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:

ssl-cert1.png

 

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