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

https interface for user management #648

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed renew - use nopass
  • Loading branch information
nanda committed Apr 18, 2023
commit eabcaf5b66beecee7998895f6f8bcabe1a7b14dd
2 changes: 1 addition & 1 deletion lighttpd/htdocs/index.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export EASYRSA_BATCH=1
case "$action" in
del) echo "$capassphrase" | ovpn_revokeclient "$username" remove 1>&2 && message="<h2>User $username removed</h2>";;
add) echo "$capassphrase" | easyrsa build-client-full "$username" nopass 1>&2 && message="<h2>Succesfully created user $username<h2>";;
renew) echo "$capassphrase" | easyrsa renew "$username" 1>&2 && message="<h2>Certificate of user $username renewed</h2>";;
renew) echo "$capassphrase" | easyrsa renew "$username" nopass 1>&2 && message="<h2>Certificate of user $username renewed</h2>";;
esac

echo "$HEAD"
Expand Down