跨不同端口的CORS请求在Firefox上未成功,但在Chrome上有效

跨不同端口的CORS请求在Firefox上未成功,但在Chrome上有效,firefox,cors,lighttpd,self-signed,Firefox,Cors,Lighttpd,Self Signed,我正在从https://169.254.128.2:8443到https://169.254.128.2:8444由lighttpd服务器提供。Lighttpd通过以下响应头启用了CORS,但选项请求在Firefox上不会通过 setenv.add-response-header = ( "Access-Control-Allow-Origin" => "*" (tried https://169.254.128.2:8443 too), "Access-Control-A

我正在从
https://169.254.128.2:8443
https://169.254.128.2:8444
由lighttpd服务器提供。Lighttpd通过以下响应头启用了CORS,但选项请求在Firefox上不会通过

setenv.add-response-header = (
    "Access-Control-Allow-Origin" => "*" (tried https://169.254.128.2:8443 too),
    "Access-Control-Allow-Headers" => "accept, origin, x-requested-with, content-type, x-transmission-session-id, x-ida-auth-token, content-disposition",
    "Access-Control-Expose-Headers" => "X-Transmission-Session-Id",
    "Access-Control-Allow-Methods" => "GET, POST, OPTIONS, PUT"
    )
我得到一个错误:MOZILLA_PKIX_error_SELF_SIGNED_CERT。我想知道除了显式接受8444的证书之外,是否还有其他方法可以与8444通信。当我第一次访问url
https://169.254.128.2:8443
和8444与8443使用相同的证书。 请求在Chrome和Safari上都能正常通过,但不接受证书。

这是一个Firefox错误:

必须分别在每个端口上启用证书

在Firefox中打开url并接受证书
https://169.254.128.2:8443
https://169.254.128.2:8444

天哪!谢谢你,耶稣。