Hi,

I just moved from Ubuntu 20.04 LTS (where the exact command works fine and does 
not prompt for pass phrase) to Red Hat Enterprise Linux 9 and installed 
Easy-RSA via EPEL.

When I run ./easyrsa build-ca nopass as root, it still prompts for PEM pass 
phrase:


# ./easyrsa build-ca nopass
Using SSL: openssl OpenSSL 3.0.1 14 Dec 2021 (Library: OpenSSL 3.0.1 14 Dec 
2021)
Enter PEM pass phrase:
Enter PEM pass phrase:
Enter PEM pass phrase:
Enter PEM pass phrase:
80DB8DBF7D7F0000:error:0480006D:PEM routines:PEM_def_callback:problems getting 
password:crypto/pem/pem_lib.c:62:
80DB8DBF7D7F0000:error:07880109:common libcrypto 
routines:do_ui_passphrase:interrupted or cancelled:crypto/passphrase.c:175:
80DB8DBF7D7F0000:error:1C80009F:Provider routines:p8info_to_encp8:unable to get 
passphrase:providers/implementations/encode_decode/encode_key2any.c:116:


# ./easyrsa --version
EasyRSA Version Information
Version:     3.0.8
Generated:   Wed Sep  9 15:59:45 CDT 2020
SSL Lib:     OpenSSL 3.0.1 14 Dec 2021 (Library: OpenSSL 3.0.1 14 Dec 2021)
Git Commit:  f12e00e53b4f486ce3d119ca429198780fa694ac
Source Repo: https://github.com/OpenVPN/easy-rsa


# ls -l
total 8
lrwxrwxrwx 1 root root   29 Aug 17 18:56 easyrsa -> 
/usr/share/easy-rsa/3/easyrsa
lrwxrwxrwx 1 root root   41 Aug 17 18:56 openssl-easyrsa.cnf -> 
/usr/share/easy-rsa/3/openssl-easyrsa.cnf
drwx------ 9 root root 4096 Aug 17 20:10 pki
-rw-r--r-- 1 root root  332 Aug 17 18:56 vars
lrwxrwxrwx 1 root root   36 Aug 17 18:56 vars.example -> 
/usr/share/doc/easy-rsa/vars.example
lrwxrwxrwx 1 root root   32 Aug 17 18:56 x509-types -> 
/usr/share/easy-rsa/3/x509-types


# cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="9.0 (Plow)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="9.0"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Red Hat Enterprise Linux 9.0 (Plow)"
ANSI_COLOR="0;31"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:redhat:enterprise_linux:9::baseos"
HOME_URL="https://www.redhat.com/";
DOCUMENTATION_URL="https://access.redhat.com/documentation/red_hat_enterprise_linux/9/";
BUG_REPORT_URL="https://bugzilla.redhat.com/";

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 9"
REDHAT_BUGZILLA_PRODUCT_VERSION=9.0
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.0"


# dnf repolist
Updating Subscription Management repositories.
repo id                                                                    repo 
name
codeready-builder-for-rhel-9-x86_64-rpms                                   Red 
Hat CodeReady Linux Builder for RHEL 9 x86_64 (RPMs)
epel                                                                       
Extra Packages for Enterprise Linux 9 - x86_64
rhel-9-for-x86_64-appstream-rpms                                           Red 
Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs)
rhel-9-for-x86_64-baseos-rpms                                              Red 
Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs)


# getenforce
Disabled


# uname -a
Linux test 5.14.0-70.22.1.el9_0.x86_64 #1 SMP PREEMPT Tue Aug 2 10:02:12 EDT 
2022 x86_64 x86_64 x86_64 GNU/Linux


Let me know if you need additional information.

Thanks,
Magnus

_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to