Log Message: Cannot pre-load keyfile (ta.key)
Freebsd 12.2-RELEASE-p13
openvpn:
OpenVPN 2.5.7 i386-portbld-freebsd12.3 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [MH/RECVDA] [AEAD] built on Aug 12 2022
easyrsa:
Version: 3.1.0
Generated: Wed May 18 20:53:50 CDT 2022
SSL Lib: OpenSSL 1.1.1h-freebsd 24 Aug 2021
rc.conf:
openvpn_enable="YES"
openvpn_configfile="/usr/local/etc/openvpn/server/server.conf"
service.conf entry: tls-auth ta.key 0
ta.key location: /usr/local/etc/openvpn/server/ta.key [permissions 600]
ta.key generated using: openvpn --genkey --secret /usr/local/etc/openvpn/easy-rsa/pki/ta.key
then moved using: cp -r /usr/local/etc/openvpn/easy-rsa/pki/{ca.crt,dh.pem,ta.key,issued,private} /usr/local/etc/openvpn/server/
Have looked everywhere including this site and have been unable determine the issue. Looking for a good idea about why openvpn is unable to load the file. This is my first attempt at installing this package. I first updated to the latest packages and used pkg install openvpn to install the package. following instructions from https://kifarunix.com/install-and-configure-openvpn-server-freebsd-12/. easyrsa was installed as part of the openvpn package, at least I think so because it was there after openvpn was installed but I did not check before installing openvpn.
If more information is needed let me know.
Freebsd 12.2-RELEASE-p13
openvpn:
OpenVPN 2.5.7 i386-portbld-freebsd12.3 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [MH/RECVDA] [AEAD] built on Aug 12 2022
easyrsa:
Version: 3.1.0
Generated: Wed May 18 20:53:50 CDT 2022
SSL Lib: OpenSSL 1.1.1h-freebsd 24 Aug 2021
rc.conf:
openvpn_enable="YES"
openvpn_configfile="/usr/local/etc/openvpn/server/server.conf"
service.conf entry: tls-auth ta.key 0
ta.key location: /usr/local/etc/openvpn/server/ta.key [permissions 600]
ta.key generated using: openvpn --genkey --secret /usr/local/etc/openvpn/easy-rsa/pki/ta.key
then moved using: cp -r /usr/local/etc/openvpn/easy-rsa/pki/{ca.crt,dh.pem,ta.key,issued,private} /usr/local/etc/openvpn/server/
Have looked everywhere including this site and have been unable determine the issue. Looking for a good idea about why openvpn is unable to load the file. This is my first attempt at installing this package. I first updated to the latest packages and used pkg install openvpn to install the package. following instructions from https://kifarunix.com/install-and-configure-openvpn-server-freebsd-12/. easyrsa was installed as part of the openvpn package, at least I think so because it was there after openvpn was installed but I did not check before installing openvpn.
If more information is needed let me know.