OpenVPN / easy-rsa

easy-rsa - Simple shell based CA utility
Other
4.02k stars 1.19k forks source link

`sign-req`: `--cop-ext` is removed by `--force-safe-ssl` #1162

Closed TinCanTech closed 3 months ago

TinCanTech commented 4 months ago

EasyRSA v3.2.0

To reproduce: Generate a request with a SAN:

Sign the request using --copy-ext, to copy the SAN; and --force-safe-ssl, to force here-doc expansion of openssl-easyrsa.cnf:

The forced here-doc expansion over-writes the SSL config in use. This removes "copy_extensions = copy" which has been previously inserted.

The signed certificate does not have the expected SAN.

Link: #1158