Issue:
For my openvpn solution I need to provide username and password. Normally I use auth-user-pass /lib/uci/upload/secret.txt
However when starting the openvpn client I get:
Sun Mar 26 12:05:34 2023 daemon.err openvpn(openvpnClient)[3141]: neither stdin nor stderr are a tty device and you have neither a controlling tty nor systemd - can't ask for 'Enter Auth Password:'. If you used --daemon, you need to use --askpass to make passphrase-protected keys work, and you can not use --auth-nocache.
My question is, ho can I change this in the gateway?
Setup: The gateway is connected to the internet forwarder and the operates as expected.
LoRa® Server: Not relevant for this issue.
Details: For this setup I use the following configuration file:
client
dev tap
proto tcp
remote <url> 1194
resolv-retry infinite
nobind
resolv-retry infinite
ca [inline]
cert [inline]
key [inline]
auth-user-pass /lib/uci/upload/secret.txt
persist-key
persist-tun
remote-cert-tls server
cipher AES-256-CBC
route 10.0.0.0 255.255.0.0 10.0.0.1
verb 3
<ca>
-----BEGIN CERTIFICATE-----
ca
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
cert
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN RSA PRIVATE KEY-----
key
-----END RSA PRIVATE KEY-----
</key>