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

Use this forum to share your VPN or network disasters. Show diagrams, traffic graphs, or whatever else you need (a video of you letting the 'smoke' out of our network gear).

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
chepalitos
OpenVpn Newbie
Posts: 3
Joined: Fri Dec 03, 2021 3:31 pm

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

Post by chepalitos » Tue Jan 25, 2022 10:54 pm

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

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1332
Joined: Tue Feb 16, 2021 10:41 am

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

Post by openvpn_inc » Thu Jan 27, 2022 11:34 pm

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
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply