Set HMAC key via UCI script

Hi all,

I am trying to set HMAC key via UCI script but without luck and CRT file is set succesfully.
Is this piece of script enough:

/bin/echo ‘-----BEGIN OpenVPN Static key V1-----
KEY CONTECT GOES HERE
-----END OpenVPN Static key V1-----’ > /etc/vuci-uploads/cbid.openvpn.client_PRJ3866.tls_auth

/sbin/uci set openvpn.client_PRJ3866.tls_auth=‘/etc/vuci-uploads/cbid.openvpn.client_PRJ3866.tls_auth’

/sbin/uci commit openvpn

I am configuring RUTX12 with FW RUTX_R_00.07.06.1

Thanks in advance.

This topic was automatically closed after 15 days. New replies are no longer allowed.