Esempio n. 1
0
def install_ssl_options_conf(options_ssl, options_ssl_digest):
    """Copy Certbot's SSL options file into the system's config dir if required."""
    return common.install_version_controlled_file(options_ssl, options_ssl_digest,
        constants.MOD_SSL_CONF_SRC, constants.ALL_SSL_OPTIONS_HASHES)
Esempio n. 2
0
def install_ssl_options_conf(options_ssl, options_ssl_digest):
    """Copy Certbot's SSL options file into the system's config dir if required."""
    return common.install_version_controlled_file(options_ssl, options_ssl_digest,
        constants.MOD_SSL_CONF_SRC, constants.ALL_SSL_OPTIONS_HASHES)
Esempio n. 3
0
 def _call(self):
     from certbot.plugins.common import install_version_controlled_file
     install_version_controlled_file(self.dest_path, self.hash_path,
                                     self.source_path, self.hashes)
Esempio n. 4
0
 def _call(self):
     from certbot.plugins.common import install_version_controlled_file
     install_version_controlled_file(self.dest_path,
                                     self.hash_path,
                                     self.source_path,
                                     self.hashes)