Options error: You must define CA file (--ca) or CA path (--capath)
Posted: Wed Jul 24, 2019 11:03 am
I installed the latest build of SoftEther Server on Windows 2019 Server - Ver 4.30, Build 9696, beta.
After setting up the VPN server successfully, I downloaded the OVPN sample file and noticed that the certificate is not embedded in it by default (this wasn't the case when I configured a VPN server 6 months ago using the build - Ver 4.29, Build 9680, rtm).
Below is how the ovpn file looks like (including just the end part).
###############################################################################
# Other parameters necessary to connect to the VPN Server.
#
# It is not recommended to modify it unless you have a particular need.
resolv-retry infinite
nobind
persist-key
persist-tun
client
verb 3
###############################################################################
# Authentication with credentials.
#
# Comment the line out in case you want to use the certificate authentication.
auth-user-pass
###############################################################################
# Client certificate and key.
#
# A pair of client certificate and private key is required in case you want to
# use the certificate authentication.
#
# To enable it, uncomment the lines below.
# Paste your certificate in the <cert> block and the key in the <key> one.
;<cert>
;-----BEGIN CERTIFICATE-----
;
;-----END CERTIFICATE-----
;</cert>
;<key>
;-----BEGIN RSA PRIVATE KEY-----
;
;-----END RSA PRIVATE KEY-----
;</key>
When trying to connect using OpenVPN client, I am getting below error.
Options error: You must define CA file (--ca) or CA path (--capath)
Use --help for more information.
I am no where close to being a networking expert and have no clue how to get this sorted. Any help would be much appreciated!
I can obviously uninstall the beta build and fall back to RTM version but I am pretty curious to understand if there is an easy way to include the certificate in ovpn file.
After setting up the VPN server successfully, I downloaded the OVPN sample file and noticed that the certificate is not embedded in it by default (this wasn't the case when I configured a VPN server 6 months ago using the build - Ver 4.29, Build 9680, rtm).
Below is how the ovpn file looks like (including just the end part).
###############################################################################
# Other parameters necessary to connect to the VPN Server.
#
# It is not recommended to modify it unless you have a particular need.
resolv-retry infinite
nobind
persist-key
persist-tun
client
verb 3
###############################################################################
# Authentication with credentials.
#
# Comment the line out in case you want to use the certificate authentication.
auth-user-pass
###############################################################################
# Client certificate and key.
#
# A pair of client certificate and private key is required in case you want to
# use the certificate authentication.
#
# To enable it, uncomment the lines below.
# Paste your certificate in the <cert> block and the key in the <key> one.
;<cert>
;-----BEGIN CERTIFICATE-----
;
;-----END CERTIFICATE-----
;</cert>
;<key>
;-----BEGIN RSA PRIVATE KEY-----
;
;-----END RSA PRIVATE KEY-----
;</key>
When trying to connect using OpenVPN client, I am getting below error.
Options error: You must define CA file (--ca) or CA path (--capath)
Use --help for more information.
I am no where close to being a networking expert and have no clue how to get this sorted. Any help would be much appreciated!
I can obviously uninstall the beta build and fall back to RTM version but I am pretty curious to understand if there is an easy way to include the certificate in ovpn file.