From 050295ea20653e6253c34b77270802fed8df0e8e Mon Sep 17 00:00:00 2001 From: James Chuong Date: Thu, 11 Jan 2018 17:12:21 -0800 Subject: [PATCH] Fix DigiCert issuer plugin revoke URL (#1041) The URL for revoking DigiCert certificates was incorrect. Change-Id: I39fb7d290a2a649ab08a47e7dcbe18a8c0bd8a59 --- lemur/plugins/lemur_digicert/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lemur/plugins/lemur_digicert/plugin.py b/lemur/plugins/lemur_digicert/plugin.py index c5bf1965..e2a63505 100644 --- a/lemur/plugins/lemur_digicert/plugin.py +++ b/lemur/plugins/lemur_digicert/plugin.py @@ -319,7 +319,7 @@ class DigiCertIssuerPlugin(IssuerPlugin): base_url = current_app.config.get('DIGICERT_URL') # make certificate revoke request - create_url = '{0}/certificate/{1}/revoke'.format(base_url, certificate.external_id) + create_url = '{0}/services/v2/certificate/{1}/revoke'.format(base_url, certificate.external_id) metrics.send('digicert_revoke_certificate', 'counter', 1) response = self.session.put(create_url, data=json.dumps({'comments': comments})) return handle_response(response)