diff --git a/certbot/certbot/plugins/enhancements.py b/certbot/certbot/plugins/enhancements.py index dad44e075..694d4e01a 100644 --- a/certbot/certbot/plugins/enhancements.py +++ b/certbot/certbot/plugins/enhancements.py @@ -191,6 +191,17 @@ class OCSPPrefetchEnhancement(object): to finalize the plugin initialization. """ + @abc.abstractmethod + def deploy_ocsp_prefetch(self, lineage, *args, **kwargs): + """ + Gets called for a lineage when its certificate is successfully renewed. + This method is used to prefetch the OCSP response before configuring + the server to use the renewed certificates. + + :param lineage: Certificate lineage object + :type lineage: certbot.interfaces.RenewableCert + """ + @abc.abstractmethod def enable_ocsp_prefetch(self, lineage, domains, *args, **kwargs): """