Openvpn error "Cannot load certificate file" & fopen

From thelinuxwiki
Revision as of 16:18, 12 April 2013 by Nighthawk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

problem description

O.S. : on LMDE

error: Cannot load certificate file cert.crt: error:02001002:system library:fopen:No such file or directory:


solution

This means that OpenVPN can't read the file it's looking for (in this case, cert.crt). This is most often because you specified only a relative path to the certificate or keyfile instead of an absolute path in your configuration files. Make sure the complete paths to the keys and certificates are defined. [edit]