Add launchers/constant TLS verify
This commit is contained in:
parent
2eda7cdf1a
commit
df55d85a48
3 changed files with 12 additions and 5 deletions
1
main.py
1
main.py
|
@ -237,6 +237,7 @@ def monitor_registry_changes():
|
||||||
|
|
||||||
# Verify TLS Certificates
|
# Verify TLS Certificates
|
||||||
def verify_tls_cert(url):
|
def verify_tls_cert(url):
|
||||||
|
while True:
|
||||||
try:
|
try:
|
||||||
response = requests.get(url, verify=certifi.where())
|
response = requests.get(url, verify=certifi.where())
|
||||||
print(f"TLS certificate valid for {url}")
|
print(f"TLS certificate valid for {url}")
|
||||||
|
|
2
run-linux.sh
Normal file
2
run-linux.sh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
sudo python3 -m pip install -r requirements.txt
|
||||||
|
sudo python3 main.py
|
4
run-win.bat
Normal file
4
run-win.bat
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
@echo off
|
||||||
|
cd /d %~dp0
|
||||||
|
pip install -r requirements.txt
|
||||||
|
python main.py
|
Loading…
Reference in a new issue