TinCanTech / easy-tls

Manage and Inline OpenVPN TLS keys and Easy-RSA PKI credentials. Supports OpenVPN TLS-Crypt-V2 key system and OpenVPN Peer-Fingerprint mode.
GNU General Public License v2.0
86 stars 19 forks source link

Only one type of TLS key is supported per X509 client certificate #190

Open TinCanTech opened 3 years ago

TinCanTech commented 3 years ago

Each X509 client certificate can only use (have an inline for for) one of the following keys:

With TLS-Crypt-V2 keys:

No X509 client certificate can have inline-files for TLS-Crypt-V2 and any other TLS key at the same time.

TinCanTech commented 3 years ago

It may be possible to over-ride current behaviour, to allow multiple type of TLS key per X509 client certificate with a switch for easytls-verify.sh. The switch would still detect clients which should be using TLS-Cryp-V2 keys but allow them to connect anyway.

This is a bad idea -- Inline files without a subkey-name are always mutually exclusive.

TinCanTech commented 3 years ago

191