Skip to content
New issue

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

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

Already on GitHub? # 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

@smokris smokris force-pushed the easyrsa-vars-path branch from ab54049 to 2a472f7 Compare August 22, 2023 17:39
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant