Help Center/ Virtual Private Network/ Troubleshooting/ P2C VPN/ Client Connection Failures/ The Client Log Contains "Error message:certReadError"
Updated on 2024-12-26 GMT+08:00

The Client Log Contains "Error message:certReadError"

Applicable Client

Windows OpenVPN Connect

Symptom

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

Error message:certReadError

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>