mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-11-27 07:06:03 +01:00
Allow issuing a new self-signed certificate
This commit is contained in:
@@ -190,6 +190,9 @@ def build_tls_data(worker=None):
|
||||
|
||||
if worker is not None:
|
||||
if application.pk in served_application_ids:
|
||||
# Workers issue their own self-signed certificates, so they also follow the renewal requests
|
||||
if application_host.certificate_type == 'self_signed':
|
||||
host_entry['certificate_generation'] = application_host.certificate_generation
|
||||
hosts[hostname] = host_entry
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user