Hi, I'd like to inline embed the ca.crt's data into the client.conf file like this:
Code:
cat base.conf
<(echo -e '<ca>') ~/client-configs/keys/ca.crt <(echo -e '</ca>')
<(echo -e '<cert>') ~/client-configs/keys/client1.crt <(echo -e '</cert>n')
<(echo -e '<key>') ~/client-configs/keys/client1.key <(echo -e '</key>n')
<(echo -e '<tls-auth>') ~/etc/openvpn/ta.key <(echo -e '</tls-auth>') >> client1.ovpn
But I got this error:
Code:
bash: /dev/fd/63: Permission denied
I did it as root. Obviously there us something going on wrong the way I try to embed in. Do you know how to do it properly?