Skip to content

Commit 7612684

Browse files
committed
zero ssl account registration
1 parent b10ea6c commit 7612684

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎plogical/sslUtilities.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,11 @@ def obtainSSLForADomain(virtualHostName,adminEmail,sslpath, aliasDomain = None):
279279
try:
280280
acmePath = '/root/.acme.sh/acme.sh'
281281

282+
### register account for zero ssl
283+
284+
command = '%s --register-account -m %s' % (acmePath, adminEmail)
285+
subprocess.call(shlex.split(command))
286+
282287
# if ProcessUtilities.decideDistro() == ProcessUtilities.ubuntu:
283288
# acmePath = '/home/cyberpanel/.acme.sh/acme.sh'
284289

0 commit comments

Comments
 (0)