Beispiel #1
0
    def _get_filtered_names(self, all_names):
        """Removes names that aren't considered valid by Let's Encrypt.

        :param set all_names: all names found in the Nginx configuration

        :returns: all found names that are considered valid by LE
        :rtype: set

        """
        filtered_names = set()
        for name in all_names:
            try:
                filtered_names.add(util.enforce_le_validity(name))
            except errors.ConfigurationError as error:
                logger.debug('Not suggesting name "%s"', name)
                logger.debug(error)
        return filtered_names
Beispiel #2
0
 def _call(self, domain):
     from certbot.util import enforce_le_validity
     return enforce_le_validity(domain)
Beispiel #3
0
 def _call(self, domain):
     from certbot.util import enforce_le_validity
     return enforce_le_validity(domain)