OpenVPN splits traffic across a control channel (handshakes, authentication, key negotiation, pushing routes/DNS) and a data channel (encrypted VPN packets using symmetric ciphers such as AES-256-GCM or ChaCha20-Poly1305).
ca.crt) and private key (ca.key). The CA signs server and client certificates so each peer can verify identity without pre-sharing secrets with every single device. Keep ca.key offline or tightly locked down because anyone with it can forge trusted certificates.client.key / server.key) and a certificate signing request (CSR). The CA signs the CSR to produce a certificate (client.crt / server.crt) containing the public key and identity metadata (such as Common Name and Extended Key Usage). Private keys stay secret on their respective machines.tls-auth (and tls-crypt): A static pre-shared HMAC key (ta.key) that signs TLS control-channel handshake packets. If an incoming handshake packet lacks a valid HMAC signature, OpenVPN drops it immediately — blocking unauthenticated scanners, port probes, and denial-of-service floods before the TLS stack even processes them. Modern OpenVPN deployments generally prefer tls-crypt or tls-crypt-v2, which both authenticates and encrypts control-channel packets so handshake metadata is hidden.Using Easy-RSA (a script wrapper around OpenSSL) is the standard way to practice building these artifacts cleanly:
ca.key and ca.crt).server.key on the VPN server..p12 / PKCS#12 file or embedded into a .ovpn client profile).tls-auth / tls-crypt static key (ta.key) and Diffie-Hellman parameters (dh.pem)..conf / .ovpn profiles to ca.crt, their respective .crt/.key pair, and the ta.key / DH parameters, then verify logs (Initialization Sequence Completed).