Hello, this is my first Bug report. I try my best!
When you create a Roadwarrior OpenVPn connection with custom Root/Host certificate, the dh1024.pem file will not created. So the Submit button is disabled and you can't start the server.
Workarround: Login through ssh and create the dh1024.pem file with
openssl dhparam -rand /proc/interrupts:/proc/net/rt_cache -out /var/ipcop/private/dh1024.pem 1024
File permissions of the imported hostkey are 644. I think these should be 600.
The CRL file is also missing, so you have to upload your custom CRL through ssh.
My certificates have a CN like this: CN=John Doe/john@example.com. I think that's the normal case when using own certificates. Therefore the connection status will not displayed correctly and disabled accounts still work.
In order to solve the first issue you have to edit line 2070 in openvpn.cgi.
Something like this should work:
if ("$confighash{$key}[2]" =~ m/^$cn\/?/) {
In order to solve the second issue you have to edit /usr/local/bin/openvpnverify. Add the line name5=echo $name5 | sed 's/, /\//g'.