From b0feb33b9bca54caf138c1419336b367a5109782 Mon Sep 17 00:00:00 2001 From: Joona Hoikkala Date: Wed, 26 Feb 2020 18:51:25 +0200 Subject: [PATCH] Fix the backup target path --- certbot-apache/certbot_apache/_internal/prefetch_ocsp.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/certbot-apache/certbot_apache/_internal/prefetch_ocsp.py b/certbot-apache/certbot_apache/_internal/prefetch_ocsp.py index 68777031a..652939666 100644 --- a/certbot-apache/certbot_apache/_internal/prefetch_ocsp.py +++ b/certbot-apache/certbot_apache/_internal/prefetch_ocsp.py @@ -266,8 +266,9 @@ class OCSPPrefetchMixin(object): self._ensure_ocsp_dirs() cache_path = os.path.join(self.config.work_dir, "ocsp", "ocsp_cache.db") try: - apache_util.safe_copy(cache_path, - os.path.join(self.config.work_dir, "ocsp_work")) + apache_util.safe_copy( + cache_path, + os.path.join(self.config.work_dir, "ocsp_work", "ocsp_cache.db")) except IOError: logger.debug("Encountered an issue while trying to backup OCSP dbm file")