mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-14 17:26:17 +01:00
Redo #610
This commit is contained in:
@@ -387,7 +387,7 @@ def issueSSLForDomain(domain, adminEmail, sslpath, aliasDomain = None):
|
|||||||
|
|
||||||
if sslUtilities.installSSLForDomain(domain) == 1:
|
if sslUtilities.installSSLForDomain(domain) == 1:
|
||||||
logging.CyberCPLogFileWriter.writeToFile("Self signed SSL issued for " + domain + ".")
|
logging.CyberCPLogFileWriter.writeToFile("Self signed SSL issued for " + domain + ".")
|
||||||
return [1, "None"]
|
return [0, "Self signed certificate was issued. [issueSSLForDomain]"]
|
||||||
else:
|
else:
|
||||||
return [0, "210 Failed to install SSL for domain. [issueSSLForDomain]"]
|
return [0, "210 Failed to install SSL for domain. [issueSSLForDomain]"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user