'I use ocsp to detect certificate status, it returns 403 error

I am trying to use apple ocsp server to detect apple certificate status, but ocsp returns 403 error

ocsp command

 openssl ocsp -verify_other chain.pem -issuer chain.pem -cert cert.pem -no_nonce -text -url http://ocsp.apple.com/ocsp03-wwdrg302 -header "HOST" "ocsp.apple.com"

the error is as follows

Error querying OCSP responder
140184399984528:error:27076072:OCSP routines:PARSE_HTTP_LINE1:server response error:ocsp_ht.c:314:Code=403,Reason=Forbidden

Does anyone know what the problem is? thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source