Page 1 of 1

Cannot load CA certificate file [[INLINE]] (no entries were read)

Posted: Tue Jan 25, 2022 10:54 pm
by chepalitos
Hello everyone.

I've the following conf file ext_file.ovpn

Code: Select all

dev tun
persist-tun
persist-key
data-ciphers AES-256-GCM:AES-128-GCM:AES-128-CBC
data-ciphers-fallback AES-128-CBC
auth SHA256
tls-client
client
resolv-retry infinite
remote xxx.xxx.xxx.xxx 1194 udp4
verify-x509-name "openvpn-sv" name
auth-user-pass
pkcs12 ext_file.p12
tls-auth ext_file.key 1
remote-cert-tls server
compress 
explicit-exit-notify
verb 3
nobind
Also, I've these files in the same folder: the ext_file.p12 and ext_file.key

But when I try to connect to the vpn on linux arch ussing this command:

Code: Select all

sudo openvpn --config ext_file.ovpn
I get the following messege:

Code: Select all

2022-01-25 18:33:58 Cannot load CA certificate file [[INLINE]] (no entries were read)
2022-01-25 18:33:58 Exiting due to fatal error
Any ideas?

Thanks!
Federico

Re: Cannot load CA certificate file [[INLINE]] (no entries were read)

Posted: Thu Jan 27, 2022 11:34 pm
by openvpn_inc
Hi Federico,

Not much we can help with here. It looks like the format of ext_file.p12 is bad, or maybe the file was not found? Try with --cd or use a full path.

regards, rob0