openvpn-client-export remove persist-key from regular export (deprecated)
-
The option
persist-keyis deprecated as of v. 2.7. It should only be included with Legacy client option set. -
It's only ignored, not a fatal error, so it's not critical to remove yet.
They do not have a timeline for its removal, so there's no hurry to change it at the moment.
We usually drop options to "legacy" when they cause a failure or otherwise have a negative impact. Leaving them in place as they are now increases the compatibility of the generated configuration files with a wider range of OpenVPN client versions.
Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.