- 2023-07-20T01:40:09.191800+00:00 [error] msg: ocsp_http_fetch_bad_code, mfa: emqx_ocsp_cache:do_http_fetch_and_cache/2, line: 429, body: <<“{"timestamp":"2023-07-20T09:40:08.235+08:00","status":404,"error":"Not Found","path":"/api/test/local/cert/MFUwUzBRME8wTTAJBgUrDgMCGgUABBRmOa5/RoQ2p9LIlUhmjXg0SpcUSAQUtrj4+jC1fdSLTWLxgM/Zaf6lfvMCFHLqVhHZklfM/ngFP04mgdaPOYKT"}”>>, code: 404, headers: true, listener_id: ‘ssl:default’
看日志,OCSP校验会在配置的服务器地址后面拼接字符串,然后发送GET请求到该地址;
问题是:path这块的拼接是pem的base64内容,会带有“/”,http会把它当作某个路径处理,所以会一直报404 Not Found的错误。
可否不是GET方式?换成POST或其他的提交方式呢?怎么配置?谢谢!!!