Ensuring the digicert session is handled correctly (#579)
This commit is contained in:
parent
25faf05807
commit
1c3ac21291
|
@ -376,6 +376,8 @@ class DigiCertCISIssuerPlugin(IssuerPlugin):
|
||||||
|
|
||||||
# retrieve certificate
|
# retrieve certificate
|
||||||
certificate_pem = get_cis_certificate(self.session, base_url, data['id'])
|
certificate_pem = get_cis_certificate(self.session, base_url, data['id'])
|
||||||
|
|
||||||
|
self.session.headers.pop('Accept')
|
||||||
end_entity = pem.parse(certificate_pem)[0]
|
end_entity = pem.parse(certificate_pem)[0]
|
||||||
return "\n".join(str(end_entity).splitlines()), current_app.config.get('DIGICERT_CIS_INTERMEDIATE')
|
return "\n".join(str(end_entity).splitlines()), current_app.config.get('DIGICERT_CIS_INTERMEDIATE')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue