zero ssl account registration

This commit is contained in:
Usman Nasir 2021-09-21 15:35:04 +05:00
parent b10ea6c6da
commit 7612684556
1 changed files with 5 additions and 0 deletions

View File

@ -279,6 +279,11 @@ class sslUtilities:
try:
acmePath = '/root/.acme.sh/acme.sh'
### register account for zero ssl
command = '%s --register-account -m %s' % (acmePath, adminEmail)
subprocess.call(shlex.split(command))
# if ProcessUtilities.decideDistro() == ProcessUtilities.ubuntu:
# acmePath = '/home/cyberpanel/.acme.sh/acme.sh'