Configure OpenVPN Client via RMS when key material is already there

Greetings,

Currently, this functionality is not available in RMS.

As a workaround, you can use the CLI to specify the certificate paths for the OpenVPN configuration.

First, run the command:
uci show openvpn

This will display the OpenVPN instance ID. In the example shown in the image below, you can see where the instance ID appears.
image
Once you have the correct ID, use the following commands to set the file path for the certificates and keys:

uci set openvpn.<instance_id>.ca='/etc/certificates/ca.crt'
uci set openvpn.<instance_id>.key='/etc/certificates/client.key'
uci set openvpn.<instance_id>.cert='/etc/certificates/client.crt'
uci commit

Please let me know if this helps.

Best Regards,
Justinas