following the openVPN tutoria and step two keeps failing on something that seems very elementary, which is that it seems unable to find the file path. the code and error:
./easyrsa init-pki -bash: ./easyrsa: No such file or directory
things I’ve tried: accessing as a different user, accessing from a different folder (rather than the cd ~/easy-rsa), modifying the vars path (currently it’s only the two lines recommended:
set_var EASYRSA_ALGO "ec" set_var EASYRSA_DIGEST "sha512"
but I’ve tried that at the bottom, that plus set_var EASYRSA_PKI “$EASYRSA/pki”, and others but nothing happens. I expect this is a super easy item that I’ve missed somewhere, because I can’t find any other stack overflow questions specifically on it, or the like. so if there’s an easy fix that you all expect I’m all ears. thanks kindly.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $200 of credit to try our products over 60 days!
Being logged in as the user that you installed Easy-RSA with, check the content of the directory ~/easy-rsa:
As you followed DO tutorial, you should get a couple of symbolic links (symlinks) as a result of the above command. These symlinks lead to the files in the directory /usr/share/easy-rsa/. There should be a symlink to
easyrsascript there too. Check the script name. Check whether it exists in the directory /usr/share/easy-rsa/:
Let us know how it is going, pls.
additional info: tried
neither returned anything, which makes me think that I missed an install somewhere but I’ve done:
which was what every tutorial I’ve seen has…