Openvpn error "Cannot load certificate file" & fopen

From thelinuxwiki
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]