Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly specify the path to the easy-rsa vars file #449

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

smokris
Copy link
Contributor

@smokris smokris commented Aug 22, 2023

Pull Request (PR) description

When puppet-openvpn runs ./easyrsa gen-crl, it fails with:

Found: /opt/local/etc/easyrsa/vars
Found: /opt/local/etc/openvpn/someName/easy-rsa/vars

Easy-RSA error:

Conflicting 'vars' files found.

Priority should be given to your PKI vars file:
* /opt/local/etc/openvpn/someName/easy-rsa/pki/vars

EasyRSA Version Information
Version:     3.1.4
Generated:   Wed May 24 07:02:30 CDT 2023
SSL Lib:     OpenSSL 3.0.8 7 Feb 2023 (Library: OpenSSL 3.0.8 7 Feb 2023)
Git Commit:  a7284a1857dcd157d5f606561c86cb79c9c5091f
Source Repo: https://github.com/OpenVPN/easy-rsa
Host: 3.1.4 | nix | SunOS | /bin/bash

This PR sets the EASYRSA_VARS_FILE environment variable, so that easyrsa knows which vars file to use.

This Pull Request (PR) fixes the following issues

n/a

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