-
Describe the bug
The error occurs here. When I re-create the certificates without To Reproduce
Expected behavior Logs Server:
Player:
Additional context |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Thank you for reporting good info. If this is a bug in OME, why does it work well with Chrome? Any reason you're sure it's a bug in OME? If you share the reason, it will be easier to solve the problem. |
Beta Was this translation helpful? Give feedback.
-
I have a feeling Chrome isn't handling things correctly here - the certificate demands OCSP stapling, the server doesn't handle it and Chrome then ignores the issue. With Firefox the connection fails as it should.
When I move the TLS termination of the websocket connection to nginx, the stream works just fine in Firefox: upstream ome {
server 127.0.0.1:3333;
keepalive 256;
}
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
server {
[...]
ssl_certificate /etc/letsencrypt/live/stream.example.netfullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/stream.example.net/privkey.pem;
ssl_stapling_file /etc/letsencrypt/ocspresponse/stream.example.net.der;
location /live/ {
proxy_pass http://ome;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Host $host;
proxy_connect_timeout 10s;
proxy_send_timeout 10s;
proxy_read_timeout 1d;
}
} Note the As you see the server actually needs to handle the OCSP stuff, I don't know if the OpenSSL library does this by default or needs special configuration. |
Beta Was this translation helpful? Give feedback.
-
Thanks for sharing information. I have to do some research on this. Or it would be great if you could PR for this. |
Beta Was this translation helpful? Give feedback.
-
I have successfully tested the playback with a certificate with the |
Beta Was this translation helpful? Give feedback.
I have successfully tested the playback with a certificate with the
--must-staple
option in FireFox.Now you can use OCSP stapling on OME! 48900ca