kae*_*ael 5 javascript android google-chrome client-certificates fetch-api
在后台运行并由push事件触发的服务工作者的上下文中,Chrome (Android) 未启动,我尝试使用fetchAPI发送带有 TLS 客户端证书的 HTTP 请求。
当 Chrome 启动时请求成功,TLS 证书已经发送到服务器。但是在上述情况下请求失败并出现以下错误:"failed to load resource: net::ERR_SSL_CLIENT_AUTH_CERT_NEEDED"。
我试过使用这些Request选项{credentials: 'include'},{ credentials: 'origin' }但没有成功。
使用带有 TLS 客户端证书的 fetch API 的正确方法是什么?