TinCanTech wrote
Does `init-pki` work ?
Yes, init-pki works with no problems.
Another thing I just tried was installing Windows' Linux subsystem with Debian Stretch, into which I installed OpenVPN 2.5 in an attempt to try running easyrsa in its native Linux environment. Unfortunately although I added the current OpenVPN repository, EasyRSA v2 is still installed rather than v3. I attempted to use the EasyRSA v3.08 downloaded direct from sourceforge but am still running into errors with build-ca. A different error message, but still referencing line 88 in the config:
administrator@WINSERVER:~/easy-rsa$ ./easyrsa build-ca nopass
Note: using Easy-RSA configuration from: /home/administrator/easy-rsa/vars
Using SSL: openssl OpenSSL 1.1.0l 10 Sep 2019
Generating RSA private key, 4096 bit long modulus
.....................++++
..........................................................++++
e is 65537 (0x010001)
req: Error on line 88 of config file "/tmp/easy-rsa-2623.XXQrX1/tmp.sfOXL0"
req: Error on line 88 of config file "/home/administrator/easy-rsa/pki/safessl-easyrsa.cnf"
unable to find 'distinguished_name' in config
problems making Certificate Request
140017172288896:error:0E06D06A:configuration file routines:NCONF_get_string:no conf or environment variable:../crypto/conf/conf_lib.c:272:
Easy-RSA error:
Failed to build the CA
This is line 88 in the file /home/administrator/easy-rsa/pki/safessl-easyrsa.cnf:
0.organizationName_default = $ENV::EASYRSA_REQ_ORG
(The file in /tmp is not there after easyrsa exits.)