added client management panel

- added classes for displaying the client management panel
- added class for displaying the client info
- added page to display a list of clients
- added page to display OpenVpn client information
- added diagram with OpenVpn certificate revocation process
This commit is contained in:
vladimir.kuznetsov 2023-01-09 12:38:01 +03:00
parent 3f257af7a9
commit a42beb86c0
19 changed files with 771 additions and 102 deletions

View file

@ -0,0 +1,38 @@
@startuml openvpnRevokeClientCertificate
actor Admin as adm
participant "Amnezia Client" as cli
participant "Amnezia Container" as cont
participant "OpenVpn Service" as ovpn
adm -> cli: revoke the selected client certificate
cli -> cli: start progress bar
cli -> cont: execute script "revoke openvpn client"
cont -> cont: easyrsa revoke clientName
note right
clientName is the clientId field
of the ConnectionData structure
end note
cont -> cont: easyrsa gen-crl
cont -> cont: cp crl.pem
cont -> ovpn: restart openvpn service
note right
In the OpenVpn config
there should be a line "crl-verify crl.pem".
After that, the service will ignore
the certificates contained in the crl.pem file
end note
group#lightgreen #lightgreen if [successful case]
ovpn --> cont: restart result
cont --> cli: display that the selected certificate has been revoked
else #pink some kind of failure
cont --> cli: display an error depending on when it occurred
end
cli -> cli: stop progress bar
cli --> adm: return control to the user
@enduml