didilem / ovpnadm

openvpn admin console
GNU General Public License v3.0
0 stars 0 forks source link

Unable to create user #1

Open simonwhill opened 4 years ago

simonwhill commented 4 years ago

Hi,

I'm trying to use your admin console and im struggling, i cant add a user. it errors out and say's it cant create a cert.

ovpnadmin

I followed this guide to insatll Openvpn on Centos 7.7

https://www.rosehosting.com/blog/how-to-install-openvpn-on-centos-7/

and then your instructions to install the admin console. im running open vpn using this config

`user nobody group nogroup

local 10.99.32.25 management 127.0.0.1 1193 port 1195 proto udp dev tun tls-server ca /etc/openvpn/ca.crt cert /etc/openvpn/server.crt key /etc/openvpn/server.key

script-security 2 tls-verify /etc/openvpn/ovpnadm/scripts/verify.pl

client-connect /etc/openvpn/ovpnadm/scripts/create-ccd.pl

crl-verify /etc/openvpn/ovpnadm/lib/openssl/crl.pem

dh /etc/openvpn/dh.pem

server 10.0.8.0 255.255.255.0

ifconfig-pool-persist /etc/openvpn/ovpnadm/ipp.txt

client-config-dir /etc/openvpn/ovpnadm/ccd keepalive 10 120 comp-lzo persist-key persist-tun status /etc/openvpn/ovpnadm/status.log

verb 4`

Any help and advice would be greatly aprecated

Regards

Simon

didilem commented 4 years ago

Hi Simon, to check on your issue the easyiest would be look in the log files of your web server to see where it bails out. Do you get anything in the log file (apache/nginx).

simonwhill commented 4 years ago

this is the the only entry whe i tried to creat a user 10.99.64.211 - - [17/Mar/2020:09:47:27 +0000] "POST /index.pl HTTP/1.1" 200 2045 "http://10.99.32.25/?action=clients&sub=1_create" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:74.0) Gecko/20100101 Firefox/74.0"

didilem commented 4 years ago

Hi Simon, have you check also the error logs? In any case if you like you can contact me my e-mail which you find on my web site. let's what we can do.