Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'certbot-apache/certbot_apache/apache_util.py')
-rw-r--r--certbot-apache/certbot_apache/apache_util.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/certbot-apache/certbot_apache/apache_util.py b/certbot-apache/certbot_apache/apache_util.py
index f338c0407..7a2ecf49b 100644
--- a/certbot-apache/certbot_apache/apache_util.py
+++ b/certbot-apache/certbot_apache/apache_util.py
@@ -1,8 +1,6 @@
""" Utility functions for certbot-apache plugin """
import binascii
-import pkg_resources
-
from certbot import util
from certbot.compat import os
@@ -107,15 +105,3 @@ def parse_define_file(filepath, varname):
def unique_id():
""" Returns an unique id to be used as a VirtualHost identifier"""
return binascii.hexlify(os.urandom(16)).decode("utf-8")
-
-
-def find_ssl_apache_conf(prefix):
- """
- Find a TLS Apache config file in the dedicated storage.
- :param str prefix: prefix of the TLS Apache config file to find
- :return: the path the TLS Apache config file
- :rtype: str
- """
- return pkg_resources.resource_filename(
- "certbot_apache",
- os.path.join("tls_configs", "{0}-options-ssl-apache.conf".format(prefix)))