Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant create new user by UI #265

Open
fatsolko opened this issue Jan 25, 2024 · 2 comments
Open

Cant create new user by UI #265

fatsolko opened this issue Jan 25, 2024 · 2 comments

Comments

@fatsolko
Copy link

OpenVPN is running on the same server.
I copy ovpn-admin and easy-rsa to /usr/bin and run command:

sudo ovpn-admin \
--listen.host="0.0.0.0" \
--listen.port="8080"   \
--listen.base-url="/vpn/"   \
--role="master"  \
--master.host="http://127.0.0.1"  \
--ovpn.server=127.0.0.1:1194:udp  \
--mgmt=main=127.0.0.1:8989 \
--easyrsa.path="/etc/openvpn/easy-rsa" \
--ccd --ccd.path=/etc/openvpn/ccd/ \
--log.level debug

when I tried to create a new user using the UI, an error occurred:

INFO[0016] 79.175.122.19:24987 /vpn/api/user/create
DEBU[0016] cd /etc/openvpn/easy-rsa && easyrsa build-client-full xxx nopass 1>/dev/null
DEBU[0016] exit status 1 : -----
INFO[0016] Certificate for user xxx issued

but with ./openvpn-install.sh everything is ok

@pashcovich
Copy link
Contributor

hi, what is the output of this command?
which easyrsa

@fatsolko
Copy link
Author

fatsolko commented Feb 20, 2024

hi, what is the output of this command? which easyrsa

which easyrsa
/usr/bin/easyrsa

version

EasyRSA Version Information
Version:     3.1.2
Generated:   Fri Jan 13 15:49:32 CST 2023
SSL Lib:     OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
Git Commit:  354c20d82bdc5db364e197aa1290e84b46abe487
Source Repo: https://github.com/OpenVPN/easy-rsa
Host: 3.1.2 | nix | Linux | /bin/bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants