Add launchers/constant TLS verify

This commit is contained in:
Sam Sneed 2024-07-24 18:18:48 -05:00
parent 2eda7cdf1a
commit df55d85a48
3 changed files with 12 additions and 5 deletions

View file

@ -237,6 +237,7 @@ def monitor_registry_changes():
# Verify TLS Certificates
def verify_tls_cert(url):
while True:
try:
response = requests.get(url, verify=certifi.where())
print(f"TLS certificate valid for {url}")

2
run-linux.sh Normal file
View file

@ -0,0 +1,2 @@
sudo python3 -m pip install -r requirements.txt
sudo python3 main.py

4
run-win.bat Normal file
View file

@ -0,0 +1,4 @@
@echo off
cd /d %~dp0
pip install -r requirements.txt
python main.py