STS / Client / exceptions / MalformedCertificateSigningRequestException
MalformedCertificateSigningRequestException¶
- class STS.Client.exceptions.MalformedCertificateSigningRequestException¶
The certificate signing request (CSR) isn’t valid. The CSR is blank, isn’t a valid PEM-encoded PKCS #10 request, has a signature that doesn’t verify, or uses a key type or key size that the signer doesn’t support. Correct the CSR and then retry the request.
Example
try: ... except client.exceptions.MalformedCertificateSigningRequestException as e: print(e.response)
- response¶
The parsed error response. All exceptions have a top level
Errorkey that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.Syntax
{ 'message': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
The certificate signing request (CSR) isn’t valid. The CSR is blank, isn’t a valid PEM-encoded PKCS #10 request, has a signature that doesn’t verify, or uses a key type or key size that the signer doesn’t support. Correct the CSR and then retry the request.
message (string) –
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.