Help Center/ Virtual Private Network/ Troubleshooting/ P2C VPN/ Client Connection Failures/ The Client Log Contains "Cannot load CA certificate file [[INLINE]](no entries were read)"
Updated on 2024-12-26 GMT+08:00

The Client Log Contains "Cannot load CA certificate file [[INLINE]](no entries were read)"

Applicable Client

  • Linux
  • Windows OpenVPN GUI

Symptom

A client cannot connect to a P2C VPN gateway, and the log contains the following error information:

Cannot load CA certificate file [[INLINE]](no entries were read)

Possible Causes

There is no client certificate or private key in the client configuration file.

Procedure

Copy the client certificate and private key to the client configuration file, and reconnect the client to the VPN gateway. An example is as follows:

<cert>
-----BEGIN CERTIFICATE-----
Client certificate content
-----END CERTIFICATE-----
</cert>

<key>
-----BEGIN PRIVATE KEY-----
Client private key
-----END PRIVATE KEY-----
</key>