sighupio / furyagent

Apache License 2.0
9 stars 2 forks source link

OpenVPN client credentials cannot be renewed or deleted #32

Open sbruzzese902 opened 2 years ago

sbruzzese902 commented 2 years ago

Currently every time client credentials expire we have to create new credentials with:

In the long term this leads to the spawning of a lot of useless credentials ( number of users X number of years ).

I don't know which is the preferred behaviour (delete or renew) but any of them would be really useful.

lzecca78 commented 1 year ago

Yes, this will help a lot the day-by-day activities and is a very nice good first issue. I guess that the culprit is the function CreateUser that should take the parameter overwrite in order to force the recreation/upload of the certificate with the same name.