def __init__(self, debug=None, srv_name=None, logger=None): self.debug = debug self.server_name = srv_name self.cahandler = None self.logger = logger self.dbstore = DBstore(debug, self.logger) self.tnauthlist_support = False
def __init__(self, debug=None, srv_name=None, logger=None): self.server_name = srv_name self.logger = logger self.dbstore = DBstore(debug, self.logger) self.message = Message(debug, self.server_name, self.logger) self.path_dic = {'acct_path': '/acme/acct/'} self.inner_header_nonce_allow = False
def __init__(self, debug=None, srv_name=None, logger=None): self.debug = debug self.server_name = srv_name self.logger = logger self.dbstore = DBstore(self.debug, self.logger) self.message = Message(self.debug, self.server_name, self.logger) self.path_dic = {'cert_path': '/acme/cert/'} self.tnauthlist_support = False
def __init__(self, debug=None, srv_name=None, logger=None, expiry=86400): self.server_name = srv_name self.debug = debug self.logger = logger self.dbstore = DBstore(debug, self.logger) self.message = Message(debug, self.server_name, self.logger) self.nonce = Nonce(debug, self.logger) self.expiry = expiry self.path_dic = {'authz_path': '/acme/authz/'}
def __init__(self, debug=None, srv_name=None, logger=None): self.server_name = srv_name self.debug = debug self.logger = logger self.dbstore = DBstore(debug, self.logger) self.message = Message(debug, self.server_name, self.logger) self.nonce = Nonce(debug, self.logger) self.validity = 86400 self.expiry_check_disable = False self.path_dic = {'authz_path' : '/acme/authz/'}
def __init__(self, debug=None, srv_name=None, logger=None): self.server_name = srv_name self.logger = logger self.dbstore = DBstore(debug, self.logger) self.message = Message(debug, self.server_name, self.logger) self.path_dic = {'acct_path': '/acme/acct/'} self.ecc_only = False self.contact_check_disable = False self.tos_check_disable = False self.inner_header_nonce_allow = False self.tos_url = None
def __init__(self, debug=None, srv_name=None, logger=None, expiry=3600): # self.debug = debug self.server_name = srv_name self.logger = logger self.dbstore = DBstore(debug, self.logger) self.message = Message(debug, self.server_name, self.logger) self.path_dic = {'chall_path' : '/acme/chall/', 'authz_path' : '/acme/authz/'} self.expiry = expiry self.challenge_validation_disable = False self.tnauthlist_support = False self.dns_server_list = None
def __init__(self, debug=None, srv_name=None, logger=None, expiry=86400): self.server_name = srv_name self.debug = debug self.logger = logger self.dbstore = DBstore(self.debug, self.logger) self.message = Message(self.debug, self.server_name, self.logger) self.expiry = expiry self.path_dic = { 'authz_path': '/acme/authz/', 'order_path': '/acme/order/', 'cert_path': '/acme/cert/' } self.tnauthlist_support = False
def __init__(self, debug=None, srv_name=None, logger=None): self.debug = debug self.logger = logger self.nonce = Nonce(self.debug, self.logger) self.dbstore = DBstore(self.debug, self.logger) self.server_name = srv_name self.path_dic = { 'acct_path': '/acme/acct/', 'revocation_path': '/acme/revokecert' } self.disable_dic = { 'signature_check_disable': False, 'nonce_check_disable': False } self._config_load()
def __init__(self, debug=None, srv_name=None, logger=None): self.server_name = srv_name self.debug = debug self.logger = logger self.dbstore = DBstore(self.debug, self.logger) self.message = Message(self.debug, self.server_name, self.logger) self.validity = 86400 self.authz_validity = 86400 self.expiry_check_disable = False self.path_dic = { 'authz_path': '/acme/authz/', 'order_path': '/acme/order/', 'cert_path': '/acme/cert/' } self.retry_after = 600 self.tnauthlist_support = False
def __init__(self, debug=None, logger=None): self.logger = logger self.dbstore = DBstore(debug, self.logger) self.debug = debug
def __init__(self, debug=None, srv_name=None, logger=None): self.debug = debug self.logger = logger self.dbstore = DBstore(self.debug, self.logger) self.server_name = srv_name self.revocation_path = '/acme/revokecert'
#!/usr/bin/python """ database updater """ # pylint: disable=E0401, C0413 import sys sys.path.insert(0, '..') sys.path.insert(1, '.') from acme.helper import logger_setup from acme.db_handler import DBstore if __name__ == '__main__': DEBUG = True # initialize logger LOGGER = logger_setup(DEBUG) # connect to database and do the upgrade DBSTORE = DBstore(DEBUG, LOGGER) DBSTORE.db_update()