Skip to main content
jkoay
Staff & Editor
Staff & Editor
May 21, 2024

Technical Tip: Filter client certificates in FortiClient

  • May 21, 2024
  • 0 replies
  • 2618 views
Description

This article describes how to configure the certificate filter to show only the matched subject and issuer.

Scope FortiClient v7.0.
Solution

Sometimes, in the endpoint, there might be many client certificates available in the personal certificate store, and it could be tedious for the end user to know which client certificate to select to establish a VPN tunnel.

 

It is possible to use an XML certificate tag to filter based on the common name and issuer. For instance, if it is desired to filter to only show certificates issued by MANGOCA, include the following XML tags:

 

Client Certificate 1.png

 

To filter only client certificates issued by MANGOCA, include the following XML code:

 

SSL VPN: 

 

<sslvpn>

<connections>

<connection>

<name>Lab SSL VPN</name>

<certificate>
<common_name>
<match_type>wildcard</match_type>
<pattern>*</pattern>
</common_name>
<issuer>
<match_type>simple</match_type>
<pattern>MANGOCA</pattern>
</issuer>
</certificate>

</connection>

</connections>

</sslvpn>

 

IPsec VPN: 

 

<ike_settings>

<auth_data>

<certificate>
<common_name>
<match_type>wildcard</match_type>
<pattern>*</pattern>
</common_name>
<issuer>
<match_type>simple</match_type>
<pattern>MANGOCA</pattern>
</issuer>
</certificate>

</auth_data>

</ike_settings>

 

Results:

 

Filtered client certificate.png

 

    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!