Fix DigiCert issuer plugin revoke URL (#1041)
The URL for revoking DigiCert certificates was incorrect. Change-Id: I39fb7d290a2a649ab08a47e7dcbe18a8c0bd8a59
This commit is contained in:
parent
77044f56fc
commit
050295ea20
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue