no tls on adm

This commit is contained in:
Charlie Jacomme 2018-08-09 15:10:12 +02:00
parent 8d06dbd35d
commit 9a567c8fb2

View file

@ -11,7 +11,6 @@ import os
path =(os.path.dirname(os.path.abspath(__file__))) path =(os.path.dirname(os.path.abspath(__file__)))
config = ConfigParser() config = ConfigParser()
config.read(path+'/config.ini') config.read(path+'/config.ini')
@ -326,7 +325,7 @@ def write_dns_reverse_file(api_client):
f.write(zone_file_content) f.write(zone_file_content)
zone_v6.append(zone6_name) zone_v6.append(zone6_name)
api_client = Re2oAPIClient(api_hostname, api_username, api_password, use_tls=True) api_client = Re2oAPIClient(api_hostname, api_username, api_password, use_tls=False)
client_hostname = socket.gethostname().split('.', 1)[0] client_hostname = socket.gethostname().split('.', 1)[0]