From 8ba6d5d058b3101bd4353df85fa6f762722d3134 Mon Sep 17 00:00:00 2001 From: Nawaz Dhandala Date: Sun, 22 Feb 2026 09:18:16 +0000 Subject: [PATCH] refactor: remove SelfSignedSSL utility class --- Nginx/Utils/SelfSignedSSL.ts | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 Nginx/Utils/SelfSignedSSL.ts diff --git a/Nginx/Utils/SelfSignedSSL.ts b/Nginx/Utils/SelfSignedSSL.ts deleted file mode 100644 index bbbcb7b83f..0000000000 --- a/Nginx/Utils/SelfSignedSSL.ts +++ /dev/null @@ -1,9 +0,0 @@ -import Exec from "Common/Server/Utils/Execute"; - -export default class SelfSignedSSL { - public static async generate(path: string, host: string): Promise { - await Exec.executeCommand( - `mkdir -p ${path} && openssl req -new -x509 -nodes -subj "/C=US/ST=NY/L=NYC/O=Global Security/OU=IT Department/CN=example.com" -out ${path}/${host}.crt -keyout ${path}/${host}.key -days 99999 && chmod -R 777 ${path}`, - ); - } -}