Ghost231, I find that I cannot use the following code to make to IP as variable
I replace the DEFAULT_IP to my Intranet IP and try to generate a self-signed cert by these command and get
Do I have misunderstanding in the step?
Code:
export DEFAULT_INTERFACE=$(route get 1.1.1.1 | grep interface | cut -d \ -f 4) export DEFAULT_IP=$(ifconfig $DEFAULT_INTERFACE | grep 'inet' | awk -F ' ' '{ print $2 }')
I replace the DEFAULT_IP to my Intranet IP and try to generate a self-signed cert by these command and get
Code:
root@bitwarden:~/CA # openssl req -new -sha512 -nodes -out server.csr -newkey rsa:8192 -keyout server.key -config <(cat server_rootCA.csr.cnf) Missing name for redirect.
Do I have misunderstanding in the step?