Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
AEK
SuperUser
SuperUser

No ZTNA client certificate was provided

Hello FortiClient admins

 

I have two Ubuntu clients with FortiClient 7.4.0 installed.

Both are registered.

The first hosts can access apps through ZTNA destination, while the second shows the following error: "No ZTNA client certificate was provided"

 

Following a quick search I found that the first node has a client certificate "/opt/forticlient/ems_cert.crt", while the second doesn't. "Probably" the certificate was removed due to a previous uninstall with purge.

Tried to unregister the endpoint an re-register it again but didn't help.

Any idea on how I can reinstall the client certificate on the host?

AEK
AEK
1 Solution
ozkanaltas
Valued Contributor III

Hi @AEK ,

 

This machine worked before, right?

 

Also, does your machine have a TPM 2.0 chip? You can check the TPM version with this command on ubuntu.

 

sudo dmesg | grep -i tpm

 

https://docs.fortinet.com/document/forticlient/7.4.0/linux-release-notes/745986/special-notices

If you have found a solution, please like and accept it to make it easily accessible to others.
NSE 4-5-6-7 OT Sec - ENT FW

View solution in original post

If you have found a solution, please like and accept it to make it easily accessible to others.NSE 4-5-6-7 OT Sec - ENT FW
7 REPLIES 7
AEK
SuperUser
SuperUser

Found in system events that the client certificate was revoked few days ago (by mistake). That is most probably the reason.

Couldn't find on the EMS GUI how to issue/install a new client certificate on the affected client. Any idea?

AEK
AEK
ozkanaltas
Valued Contributor III

Hi @AEK ,

 

Normally, after the relevant certificate is revoked, it should be automatically recreated. It seems like EMS could not redistribute it.

 

Maybe if you delete FortiClient from the client, deregister the relevant client from EMS, then delete the relevant client's registration from EMS and then re-install it on the client, I think this could fix the situation.

If you have found a solution, please like and accept it to make it easily accessible to others.
NSE 4-5-6-7 OT Sec - ENT FW
If you have found a solution, please like and accept it to make it easily accessible to others.NSE 4-5-6-7 OT Sec - ENT FW
AEK

Hi Ozkan

Thanks for the feedback, but it didn't help.

Uninstalled and purged and unregistered and deleted and removed client ID from the client, the re-installed but still the same issue: The client certificate is still not present in /opt/forticlient, and ZTNA Status for the endpoint is still shown "Revoked" on EMS WebUI.

AEK
AEK
ozkanaltas
Valued Contributor III

Hi @AEK ,

 

This machine worked before, right?

 

Also, does your machine have a TPM 2.0 chip? You can check the TPM version with this command on ubuntu.

 

sudo dmesg | grep -i tpm

 

https://docs.fortinet.com/document/forticlient/7.4.0/linux-release-notes/745986/special-notices

If you have found a solution, please like and accept it to make it easily accessible to others.
NSE 4-5-6-7 OT Sec - ENT FW
If you have found a solution, please like and accept it to make it easily accessible to others.NSE 4-5-6-7 OT Sec - ENT FW
AEK

Hi Ozkan

I think you put your finger on the right root cause.

Here is the output:

[    0.300457] tpm_tis 00:0b: 1.2 TPM (device-id 0x1B, rev-id 16)
[    0.313052] tpm tpm0: TPM is disabled/deactivated (0x7)
[    0.313061] tpm tpm0: tpm_read_log_acpi: TCPA log area empty
[    0.646143] ima: Error Communicating to TPM chip
[    0.648535] ima: Error Communicating to TPM chip
[    0.651548] ima: Error Communicating to TPM chip
[    0.654174] ima: Error Communicating to TPM chip
[    0.656532] ima: Error Communicating to TPM chip
[    0.658530] ima: Error Communicating to TPM chip
[    0.661517] ima: Error Communicating to TPM chip
[    0.664498] ima: Error Communicating to TPM chip
No, it didn't work before. I just thought that we revoked the certificate by mistake but I may be wrong.
AEK
AEK
ozkanaltas
Valued Contributor III

Hi @AEK ,

 

The problem is 100% caused by this. FortiClient stores ZTNA certificates in the TPM chip. For security purposes, if there is no TPM 2.0 chip on the machine, unfortunately, it does not generate certificates.

If you have found a solution, please like and accept it to make it easily accessible to others.
NSE 4-5-6-7 OT Sec - ENT FW
If you have found a solution, please like and accept it to make it easily accessible to others.NSE 4-5-6-7 OT Sec - ENT FW
AEK

Thanks Ozkan.

Your advice was helpful and time saving.

AEK
AEK
Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors