Hello,
I'm wondering how you did it. I just tried to do the same and end with a TLS error.
My setup is the same as yours: root ca => vpn ca => client/server certificate (root ca signed the vpn ca certificate and this certificate was used to sign the client/server certificates).
with:
ca keys/sub+ca.chained.crt
cert keys/server.crt
key keys/server.key
ca keys/sub+ca.chained.crt
cert keys/client.crt
key keys/client.key
The log says:
[24278]: VERIFY OK: depth=2, CN=mydomain.net CA
[24278]: VERIFY OK: depth=1, CN=mysub subCA
[24278]: VERIFY nsCertType ERROR: CN=server.mydomain.net, require nsCertType=SERVER
[24278]: TLS_ERROR: BIO read tls_read_plaintext error: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed
My server is running smartos and the client is ubuntu, but both have a fairly recent openvpn/openssl combo.
(see post
https://forums.openvpn.net/viewtopic.php?f=22&t=24629#p72167)