From 91a0f81d0e4dfc7b7583745db7e210b75eccbdb5 Mon Sep 17 00:00:00 2001 From: usmannasir Date: Sun, 21 Jan 2024 11:47:10 +0500 Subject: [PATCH] bug fix https://app.clickup.com/t/86eng46e7 --- plogical/sslUtilities.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plogical/sslUtilities.py b/plogical/sslUtilities.py index 4860dfd6f..0fef5cd63 100755 --- a/plogical/sslUtilities.py +++ b/plogical/sslUtilities.py @@ -424,6 +424,9 @@ context /.well-known/acme-challenge { command = f'mkdir -p /usr/local/lsws/Example/html/.well-known/acme-challenge' ProcessUtilities.normalExecutioner(command) + command = f'chmod -R 755 /usr/local/lsws/Example/html' + ProcessUtilities.executioner(command) + CustomVerificationFile = f'/usr/local/lsws/Example/html/.well-known/acme-challenge/{virtualHostName}' command = f'touch {CustomVerificationFile}' ProcessUtilities.normalExecutioner(command)