Skip to main content
cmaheu
Staff
Staff
December 7, 2021

Troubleshooting Tip: Persistent Agent attempts to authenticate the wrong SSL certificate

  • December 7, 2021
  • 0 replies
  • 661 views

 

Description

Persistent Agent logs from the host show the certificate's Serial Number matches the certificate from a Certificate Target other than the Persistent Agent (Example, Local RADIUS Server).  This can prevent the agent from authenticating the certificate.

 

Persistent Agent host log Example:

 

Certificate:
Data:
Version: xxx
Serial Number:                 

<xx:xx:xx:xx:xx:...> <----- Serial Number of certificate
Signature Algorithm: sha256WithRSAEncryption
<...>

 

For instructions on collecting the agent logs from the host, refer to the related KB articles below.


The Serial Number of the certificate used for each Certificate Target can be viewed in the Administration GUI.


1) Navigate to System -> Settings -> Security -> License Management.


2) Select the target and select 'Details'.

Scope  
Solution

1)  Verify TLS Service Configurations are correct. 

TLS Service Configurations define the certificate, TLS Protocols, and Ciphers used for secure communication (e.g. Agent, Local RADIUS EAP).

 

Version 8.x: Navigate to System -> Settings -> Persistent Agent -> Transport Configuration.


Version 9.x: Navigate to Security Config > Agent settings > Transport Configuration.

 

2)  Under TLS Service Configurations, ensure one of the services listed references the agent Certificate Alias. 

 

If this service is not listed, add it.  

 

Example:

 

Name: Default TCP

TLS Protocols: TLSv1.2

Certificate Alias: agent

 

3) Once added, create a Packet Transport Configuration referencing the newly added TLS Service Configuration.

 

Example:

 

Name: Agent Transport

Bind Address: (Leave blank)

Port: 4568

TLS Configuration: Select Default TCP from drill down

Transport: TCP

Max Queue Size, Read Idle Timeout & Write Idle Timeout: Leave at default values

 

For details on this view, see Transport Configurations in the Administration Guide.


Version 8.x: https://docs.fortinet.com/document/fortinac/8.8.0/administration-guide/343929/transport-configurations 


Version 9.x: https://docs.fortinet.com/document/fortinac/9.2.0/administration-guide/343929/transport-configurations 

 

Contact Support for assistance.


Related Articles.


https://community.fortinet.com/t5/FortiNAC/Technical-Note-Troubleshooting-the-Persistent-Agent/ta-p/196869 


https://community.fortinet.com/t5/FortiNAC/Technical-Note-Windows-Persistent-Agent-logs/ta-p/190324 


https://community.fortinet.com/t5/FortiNAC/Technical-Note-Linux-Persistent-Agent-Logs/ta-p/191030 


https://community.fortinet.com/t5/FortiNAC/Technical-Note-macOS-Persistent-Agent-logs/ta-p/189781