Article 4XV4R embed into ovpn client file

embed into ovpn client file

by
kzo81
from LinuxQuestions.org on (#4XV4R)
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.ovpnBut I got this error:
Code:bash: /dev/fd/63: Permission deniedI 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?latest?d=yIl2AUoC8zA latest?i=0Nbw4mTD_Uc:huU_DcfB3Ks:F7zBnMy latest?i=0Nbw4mTD_Uc:huU_DcfB3Ks:V_sGLiP latest?d=qj6IDK7rITs latest?i=0Nbw4mTD_Uc:huU_DcfB3Ks:gIN9vFw0Nbw4mTD_Uc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments