Skip to content

OCSP Support for AWS Certificate Manager (ACM) Public Certificates?

1

I've generated multiple public certificates using AWS Certificate Manager (ACM) for .com.au domains attached to CloudFront, trying both RSA 2048 and ECDSA P-256, but none receive Online Certificate Status Protocol (OCSP) support. I understand OCSP is available for private CAs in ACM, but is it not a feature for public ACM certificates? Am I missing something to enable OCSP for public certificates?

2 Answers
3
Accepted Answer

As you have discovered, ACM issued certs supports OCSP.

CloudFront supports OCSP since 2014. As per OCSP section in documentation, CloudFront staples OCSP responses when there is a lot of web traffic. The initial CloudFront response may not have OCSP response.

Section reproduced below

When CloudFront receives a lot of HTTPS requests for the same domain, every server in the edge location soon has a response from the CA that it can "staple" to a packet in the SSL handshake; when the viewer is satisfied that the certificate is valid, CloudFront can serve the requested object. If your distribution doesn't get much traffic in a CloudFront edge location, new requests are more likely to be directed to a server that hasn't validated the certificate with the CA yet. In that case, the viewer separately performs the validation step and the CloudFront server serves the object. That CloudFront server also submits a validation request to the CA, so the next time it receives a request that includes the same domain name, it has a validation response from the CA.

AWS
EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

2

How are you determining that OCSP isn't supported? If I look at my certificates or the certificate served by aws.amazon.com, for example, it shows this OCSP URL or similar in the certificate's "Authority Information Access" attribute: OCSP Responder: URI: http://ocsp.r2m01.amazontrust.com

EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

  • Thanks for the reply, I see this line you mentioned when looking at the certificate, "OCSP Responder: URI: http://ocsp.e2m02.amazontrust.com CA Issuers: URI: http://crt.e2m02.amazontrust.com/e2m02.cer", so thanks for pointing that out. Although I was told by the external pen testers that it needs to show an OCSP response: when using "echo | openssl s_client -connect ChangeThis.com:443 -status", but on my AWS domains I only see this "OCSP response: no response sent", yet I can see this expected response if I try on aws.amazon.com for example as the target domain. I have confirmed with my other CloudFlare domains (Non-AWS domains for testing purposes) that curl to these will show the expected response, an example is "echo | openssl s_client -connect www.commbank.com.au:443 -status" which shows an output they are allegedly looking for:

    Or without manual searching use: echo | openssl s_client -connect commbank.com.au:443 -status 2>/dev/null | grep -A 15 "OCSP response:"

    "OCSP response:

    OCSP Response Data: OCSP Response Status: successful (0x0) Response Type: Basic OCSP Response Version: 1 (0x0) Responder Id: C = US, O = "Entrust, Inc.", CN = Entrust Validation Authority Produced At: Oct 12 03:20:00 2024 GMT"

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.