ACM OCSP Request support for SHA256

0

Hello!

I have a working check on using OCSP request to ACM on a private cert authority using SHA1 via https://cryptography.io/en/3.4/x509/ocsp.html

When I switch to SHA256 instead of SHA1 though, I get errors from ACM. Does ACM OSCP support SHA256 or only SHA1? I can't find any supporting documentation that clarifies this.

1 Answer
0

Amazon ACM (AWS Certificate Manager) does support OCSP (Online Certificate Status Protocol) for certificate validation. Regarding the hash algorithm used, ACM supports SHA-256 for generating the digital signature in the OCSP response. https://docs.aws.amazon.com/acm/

profile picture
EXPERT
answered 20 days ago
  • I have yet to see a request work with SHA256 OCSP request. Here is an openssl example: openssl ocsp -issuer truststore.pem -sha256 -cert cert.pem -text -url http://ocsp.acm-pca.us-east-1.amazonaws.com this fails

    openssl ocsp -issuer truststore.pem -cert cert.pem -text -url http://ocsp.acm-pca.us-east-1.amazonaws.com this succeeds (SHA1 default)

    So far every OCSP request made to ACM built with anything but SHA1 encoding fails. Is this a bug?

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.

Guidelines for Answering Questions