Added pihole-register.py, updated all scripts for using system trusted
CAs
This commit is contained in:
+2
-2
@@ -7,8 +7,8 @@ import requests
|
||||
from datetime import datetime
|
||||
from pathlib import Path
|
||||
|
||||
api_url = "https://pi.hole/api"
|
||||
default_ca_cert = "/etc/pihole/tls_ca.crt"
|
||||
api_url = "https://pihole.haemka.lan/api"
|
||||
default_ca_cert = "/etc/ssl/certs/ca-certificates.crt"
|
||||
default_password_file = "/etc/pihole/api_password"
|
||||
|
||||
parser = argparse.ArgumentParser(description="List non-static (dynamic) Pi-hole DHCP leases.")
|
||||
|
||||
Reference in New Issue
Block a user