OpenVPN cant find CA, key and client certificate
Posted: Thu Jan 06, 2022 6:34 pm
The OpenVPN GUI says it cant connect to management interface.
I checked the log file and then I saw:
However, I think I have correctly specified the path:
client.ovpn:
ca "C:\Users\Marcel\Documents\OpenVPNFiles\SudzukClient1\client\ca.crt"
cert "C:\Users\Marcel\Documents\OpenVPNFiles\SudzukClient1\client\*Client Name*.crt"
key "C:\Users\Marcel\Documents\OpenVPNFiles\SudzukClient1\client\*Client Name*.key"
There needs to be something wrong...
I checked the log file and then I saw:
Code: Select all
2022-01-06 19:18:25 WARNING: Compression for receiving enabled. Compression has been used in the past to break encryption. Sent packets are not compressed unless "allow-compression yes" is also set.
2022-01-06 19:18:25 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.
Options error: --ca fails with 'ca.crt': No such file or directory (errno=2)
Options error: --cert fails with 'SudzukClient1.crt': No such file or directory (errno=2)
2022-01-06 19:18:25 WARNING: cannot stat file 'SudzukClient1.key': No such file or directory (errno=2)
Options error: --key fails with 'SudzukClient1.key': No such file or directory (errno=2)
Options error: Please correct these errors.
Use --help for more information.
client.ovpn:
ca "C:\Users\Marcel\Documents\OpenVPNFiles\SudzukClient1\client\ca.crt"
cert "C:\Users\Marcel\Documents\OpenVPNFiles\SudzukClient1\client\*Client Name*.crt"
key "C:\Users\Marcel\Documents\OpenVPNFiles\SudzukClient1\client\*Client Name*.key"
There needs to be something wrong...