The Client Log Contains "error:068000A8:asn1 encoding routines:wrong tag"
Applicable Client
- Linux
- Windows OpenVPN GUI
- Windows OpenVPN Connect
Symptom
A client cannot connect to a P2C VPN gateway, and the log contains the following error information:
error:068000A8:asn1 encoding routines:wrong tag
Possible Causes
The client certificate and private key do not match.
Procedure
Copy the correct 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>
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot