Skip to content

Commit 958b24f

Browse files
committed
hax
1 parent 244628d commit 958b24f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dags/nycmesh_generate_omni_cert.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import datetime
22
import sys
3+
import os
34

45
from airflow.sdk import dag, task
56

@@ -35,6 +36,7 @@ def generate_certbot_tsig_cert(fqdn_string, dns_server, tsig_key_name, tsig_key,
3536
# TSIG key algorithm
3637
dns_rfc2136_algorithm = HMAC-SHA512
3738
""")
39+
os.chmod(tsig_ini_file_path, 0o600)
3840

3941
# Get the cert from Let's Encrypt
4042
completed = subprocess.run([

0 commit comments

Comments
 (0)