Skip to content

Add private_key_password parameter to allow setting private key passwords - #506

Open
mpdude wants to merge 2 commits into
voxpupuli:masterfrom
mpdude:easyrsa-export-password
Open

Add private_key_password parameter to allow setting private key passwords#506
mpdude wants to merge 2 commits into
voxpupuli:masterfrom
mpdude:easyrsa-export-password

Conversation

@mpdude

@mpdude mpdude commented Apr 15, 2026

Copy link
Copy Markdown

This adds a private_key_password parameter to the openvpn::client define. The given password will be passed on to easyrsa through the EASYRSA_PASSOUT environment variable.

This way, the generated private key for the client, which is contained in the exported .ovpn config files, is protected with a password.

The OpenVPN Connect client will ask for the key password when establishing the connection.

@mpdude
mpdude force-pushed the easyrsa-export-password branch from 71ce6c4 to 9b9bd8d Compare April 15, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant