How easyrsa3 generates pki folder? in a specified directory

I tried to change the easyrsa script

local work_dir="${EASYRSA:-$err_source}"
local pki_dir="${EASYRSA_PKI:-$err_source}"
set_var EASYRSA        "${0%/*}"

none of these three works.

it is also wrong to try the script under the directory specified by source.

what should I do?

Any suggestion would be appreciated.

Aug.31,2021
Menu