Hi. I have the same issue.. I'm migrating an OpenVPN server from one AlmaLinux machine to a Rocky Linux machine.. The new machine is about 3 years newer..
I copied the entire /etc/openvpn to the new server, started it, but when I try to connect to it as client, it's giving errors:
#/usr/sbin/openvpn --daemon --writepid /run/openvpn/server.pid --cd /etc/openvpn --config server.conf --script-security 2
Re-using SSL/TLS context
LZO compression initializing
Control Channel MTU parms [ L:1622 D:1212 EF:38 EB:0 ET:0 EL:3 ]
Data Channel MTU parms [ L:1622 D:1450 EF:122 EB:406 ET:0 EL:3 ]
Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
UDPv4 READ [14] from [AF_INET]193.162.15.18:58472: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0 DATA len=0
TLS: Initial packet from [AF_INET]193.162.15.18:58472, sid=f3dfd19b 412e45cb
VERIFY ERROR: depth=0, error=CRL signature failure: C=TR, ST=TR, L=Izmir, O=Kalfaoglu, OU=kalfaoglu, CN=turgut kalfaoglu, name=turgut kalfaoglu, emailAddress=info@kalfaoglu.net, serial=3
OpenSSL: error:1417C086:SSL routines:tls_process_client_certificate:certificate verify failed
I checked the server.conf that the server uses and ALL the paths mentioned are below /etc/openvpn , so I must have copied everything.. the only thing I suspect is the OpenSSL installation on the two machines, although they are strictly at the same level.. openssl-1.1.1k-9.el8_7.x86_64