This may seem rather trivial, but Im' not good with tls.
I have an openvpn server that does mutual tls auth.
my vpn client has a ca.crt file of:
root CA
intermediate CA
issuing CA
my server has a server.crt of:
server certificate # which is signed by the above "issuing CA"
However, if on my vpn client I remove the "issuing CA" and "intermediate CA" from ca.crt, my vpn client still validates the server.crt just fine.
if on my vpn client I put an invalid invalid "root CA" in my ca.crt, then auth fails.
I'm confused as to how I can remove the "issuing CA" and "intermediate CA" from my vpn client's ca.crt and it is still able to validate the server.crt, as the cert that signed the server.crt, "issuing ca", is no longer in my vpn client's ca.crt.