Skip to main content
DavidAno
New Member
Mar 8, 2024 5:23 PM UTC
Question

Forticlient 7.2.4 trying to use certificates when not configured

Hello all,

 

We just upgraded to FortiClient 7.2.4 and having a strange issue, not sure if this is a bug or if there is some configuration change we can make to prevent this.   

 

We are using SAML login, but for some reason FortiClient keeps trying to use certificates that exist in the users personal certificate sore that are totally unrelated to our VPN.  We have never used certificate based authentication, its not even configured on the firewall.   But for some reason when we try to connect using SAML it fails and the log below is generated in the certificates log for Forticlient.   If i disable single sign-on and just connect with un/pw then it works fine and the certificate issue doesnt happen.

 

This is happening on a per-user basis, meaning that on the same computer with the same exact configuration if 2 different users try to use FortiClient it will work for 1 but not the other.   I found that the issue is related to certificates

existing in the User's personal certificate store.   If I move the certificates out of the personal store then the VPN start working as expected.   Obviously this is not a good solution as the certificates are needed for other software.

 

Need to figure out how to prevent FortiClient from trying these other random certificates that exist.

 

 

I explained some more symptoms of the issue here - https://community.fortinet.com/t5/Support-Forum/FortiClient-VPN-Error-6005/td-p/303566

 

 

 

 

Searching CERTS_ENUM_SMARTCARDS

Looking for certs with and without pvt keys

Certificates_EnumTunnelCerts called. isSSL=1 includeLocations=65535 bMustHavePvtKey=0

Certificates_EnumTunnelCerts 490 sec_get_account_type()=520214896

Certificates_EnumTunnelCerts 493 sec_get_user_type()=0

Certificates_EnumTunnelCerts shadow_mode_enabled=502

Certificates_EnumTunnelCerts - looking in user store.

Certificates_EnumTunnelCerts - not looking in computer store.

Certificates_EnumTunnelCerts - looking on smartcards.

Certificates_EnumTunnelCerts call Certificates_LoadFilters

Certificates_LoadFilters tunnelName=3a7a5770, isSSL=1 &filters=000000E833BFCB70, &nFilters=000000E833BFCB78

Certificates_LoadFilters Open software\Fortinet\FortiClient\Sslvpn\Tunnels\MFA VPN

Certificates_LoadFilters Opened software\Fortinet\FortiClient\Sslvpn\Tunnels\MFA VPN

 

Searching CERTS_ENUM_USER_STORE

Looking for certs with and without pvt keys

Cert "Adobe Intermediate CA 10-3\Adobe Content Certificate 10-5" has OIDs:

  2.5.29.15

  2.5.29.19

Cert "Adobe Intermediate CA 10-3\Adobe Content Certificate 10-5" - ACCEPT

Cert "Adobe Root CA 10-3\Adobe Intermediate CA 10-3" has OIDs:

  2.5.29.15

  2.5.29.19

Cert "Adobe Root CA 10-3\Adobe Intermediate CA 10-3" - ACCEPT

Cert "Adobe Root CA 10-3\Adobe Intermediate CA 10-4" has OIDs:

  2.5.29.15

  2.5.29.19

Cert "Adobe Root CA 10-3\Adobe Intermediate CA 10-4" - ACCEPT

Cert "Adobe Intermediate CA 10-4\Adobe Content Certificate 10-6" has OIDs:

  2.5.29.15

  2.5.29.19

Cert "Adobe Intermediate CA 10-4\Adobe Content Certificate 10-6" - ACCEPT

 

Searching CERTS_ENUM_SMARTCARDS

Looking for certs with and without pvt keys

Certificates_GetCertificateFromJSON 753

Certificates_GetCertificateFromJSON 762

Certificates_GetCertificateFromJSON 768 thumbprint=906CC149415780CFB79F39E1CF449F87CA6D4D16

Certificates_GetCertificateFromJSON 775 source=1

Certificates_GetCertificateFromJSON 781

Certificates_GetCertificate 612 hStoreHandle=000002645940A0F0

Certificates_GetCertificate 727 bFoundCert=1

Certificates_GetCertificateFromJSON 753

Certificates_GetCertificateFromJSON 762

Certificates_GetCertificateFromJSON 768 thumbprint=906CC149415780CFB79F39E1CF449F87CA6D4D16

Certificates_GetCertificateFromJSON 775 source=1

Certificates_GetCertificateFromJSON 781

Certificates_GetCertificate 612 hStoreHandle=0000026459427020

Certificates_GetCertificate 727 bFoundCert=1

 

30 replies

uraksha2
New Member
Mar 9, 2024 9:09 AM UTC

Can you share the specific certificate error. My guess is that you imported the ssl inspection certificate from the gate a while back when not in 7.4...into your machine , hence no errors prior. Then you updated the gate, new cert was generated and you have not trusted that on your pc. Just a hunch.

Translate
RBT
New Member
Mar 9, 2024 11:56 AM UTC

I can confirm that issue. Same issue with saml (Azure) login. FortiClient connects to 40% then ask for smartcard but doesn't accept one (we use smartcard for windows login).

 

No  more requests for smartcard after rollback to 7.2.3. (so, seems not to be an server issue)

Smartcard needed (but only on some systems in the company) when upgrade to 7.2.4 again

Error shown in FortiClient:

09.03.2024 12:19:55
SSL-VPN
The server you want to connect to requests identification, please choose a certificate and try again. (-6006)
But we never have configured our Fortigate to request user identification and Azure login  use FIDO2
We also run sometimes in an issue with 7.2.4: login via user/pw an Fortitoken stocks on 40% (same system that have issues with saml login)
Some systems work fine independ which login method used

 

 

Translate
MichelleT
New Member
Mar 12, 2024 4:43 PM UTC

I encountered the same issue after updating to 7.2; I was able to get connection to complete when I selected my personal certificate. 

 

It looks as though zero trust may be baked into the latest version of the FortiClient. 

 

My question is how do we get the connection to work if client certificate is not enabled for the SSL-VPN settings on the FortiGate?

Translate
RBT
New Member
Mar 12, 2024 7:29 PM UTC

First workaround:

I delete any user certificate except fct.... and our AD internal certificate from my usercertificates mmc

There were some from adobe - don't know why...

 

Afterwords login works without user cerificate request

Translate
technomancer_101
New Member
Mar 13, 2024 3:27 PM UTC

Checked mine, exact same scenario. Personal certificate store had my personal cert for encryption, an Admin Center cert and about 8 from Adobe. I don't know where the Adobe ones came from either, but removing just those eight appears to have taken care of the problem.

Translate
MichelleT
New Member
Mar 13, 2024 4:08 PM UTC

Question is how I apply this solution to all the user devices with the least amount of administrative overhead or user interaction required.

Translate
hd-systems
Explorer
Mar 19, 2024 11:20 AM UTC

We have the same issue, definitely a bug that needs to be resolved by Fortinet.

 

Deleting only the Adobe personal certificates was enough as a workaround (we have kept other certificates and have no problems).

Translate
dombilod_forti
New Member
Mar 19, 2024 3:28 PM UTC

Same issue here.

In our case the certs are used by our developers and we cannot delete them.

The only thing that might be related to this is that 2 weeks agos I did some testing with Cert authentication on the Fortigate, but deleted everything related to these testing since then, and rebooted the fortigate as well.   Could it be possible that the fortigate is configuring an option that is not obvious to see and that is still in our config ?

Is this the case for some of you ?

Translate
dombilod_forti
New Member
Mar 19, 2024 3:30 PM UTC

Also @DavidAno did you find a workaround for this ?

We opened a ticket yesterday with Fortinet.  Let's see how it goes.

Translate
KH69
Visitor III
Mar 20, 2024 2:31 AM UTC

Same exact issue here :( Just upgraded to 7.2.4 and getting the same error.  There were no certs though in the user store so not sure where to go from here :(

Translate
jip
New Member
Mar 20, 2024 8:41 AM UTC

Exact same issue and even by rolling back to 7.2.3.0929 did not fix the issue of all our machines. For now if we are lucky we can select any certificate and this seems to work for now.

 

=> Fortinet, please release a fix very quickly as we have many users impacted

Translate
MichelleT
New Member
Mar 20, 2024 11:56 AM UTC

Submitting a ticket with Fortinet Support, help me resolve the issue.

 

Originally I was using 7.0.9, so uninstalled the latest release ( 7.2.4) and rolled back to 7.0.11. The connection is being established as before (no certificate required)

 

Mind you, since I 'm using the free version of the FortiClient is support is limited. Hopefully someone using the paid version will open a ticket and get a better solution to this certificate problem.

Translate
martstonge
New Member
Mar 20, 2024 12:23 PM UTC

I just sent my logs to support.  Let's see what they will tell me.  I'll post a response here

Translate
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024