Viscosity. OpenVPN client. For Mac.  


Search our Knowledge Base to see if we already have an answer for your question:


Browse KB

Browse articles in our Knowledge Base by category:


Common OpenVPN Errors

Other articles in this category:

Error: Cannot allocate TUN/TAP dev dynamically
Error: You must define CA file (--ca) or PKCS#12 file (--pkcs12)
Error: Cannot load certificate file cert.crt
Error: Private key password verification failed
Error: write to TUN/TAP : Input/output error (code=5)
Error: Connection Name Could Not Be Connected
Error: TLS Error: TLS key negotiation failed to occur within 60 seconds
Error: Unsafe OpenVPN command detected
Error: Inactivity timeout (--ping-restart)


Error: Cannot load certificate file cert.crt
Knowledge Base > Common OpenVPN Errors > Error: Cannot load certificate file cert.crt

If OpenVPN is unable to open the CA, Certificate, or Key files specified for your connection it will display an error message in the log similar to "Cannot load certificate file cert.crt".

Such an error indicates that the file is not a valid certificate or key file. The most common cause of this error is getting the CA, Certificate, and Key files mixed up when entering them into Viscosity. The simplist way to check for, and fix, this is like so:

  1. Open Viscosity's Preferences window and make sure the Connections toolbar icon is selected.
  2. Select your connection and click the Edit button.
  3. Click on the Certificates tab.
  4. Click the "Clear" button next to each of the relevant fields.
  5. Click the "Select" button next to each of the just-cleared fields, select the original corresponding file supplied by your VPN administrator, and then click the Open button. If you are unsure which file to select for which field you should contact your system administrator.
  6. When finished click the Save button.

If the error message still appears after following the above steps, the file is not a valid certificate/key file. In this case you should contact your VPN administrator and ask for the files to be resent.



Support Home
Knowledge Base


SparkLabs Copyright © SparkLabs Pty Ltd. All Rights Reserved.