Troubles with OpenVpn-server configuration

Hi all!
When configuring the OpenVpn server, you must specify tls variables.
These certificates are in my /config/auth/openvpn directory, but they cannot be used in the config.
Based on the official guide, you can specify the path where to get these certificates. Example:

set interfaces openvpn vtun10 tls ca-cert-file /config/auth/openvpn/ca.crt
set interfaces openvpn vtun10 tls cert-file /config/auth/openvpn/server.crt
set interfaces openvpn vtun10 tls key-file /config/auth/openvpn/server.key
set interfaces openvpn vtun10 tls crl-file /config/auth/openvpn/crl.pem
set interfaces openvpn vtun10 tls dh-file /config/auth/openvpn/dh2048.pem

But when I try to use the cert-file argument, it says that there is no such command.

I can only use the certificates that I set in the config.
How do I use certificate files?

Hello @Dikiy_Buivol

Try this documentation for VyOS 1.4:

https://docs.vyos.io/en/latest/configuration/interfaces/openvpn.html#server

After all the actions, I get the following error log when connecting via openvpn.
Why is this happening?

Connecting to [xx.xx.xx.xx]:xxxx (xx.xx.xx.xx) via UDPv4
Server poll timeout, trying next remote entry…
EVENT: RECONNECTING EVENT: RESOLVE Contacting xx.xx.xx.xx:xxxx via UDP
UnixCommandAgent: transmitting bypass route to /var/run/agent_ovpnconnect.sock
{
“host” : “xx.xx.xx.xx”,
“ipv6” : false,
“pid” : 1093
}

Connecting to [xx.xx.xx.xx]:xx (xx.xx.xx.xx) via UDPv4
Raw stats on disconnect:
BYTES_OUT : 700
PACKETS_OUT : 50
N_RECONNECT : 4

Performance stats on disconnect:
CPU usage (microseconds): 12866414
Network bytes per CPU second: 54
Tunnel bytes per CPU second: 0
EVENT: DISCONNECTED ⏎

@Dikiy_Buivol
Can you provide the current configuration openvpn server on vyos?