关于服务器配置SSL的问题(站点与Socket各一台服务器)

Quan

站点放在腾讯云,Socket服务放在机房,连接时需要使用域名,请问Socket服务应该怎么部署SSL。
Socket服务器不论如何配置,站点都无法连接成功。

[attach]1552[/attach]
 

3150 4 0
4个回答

Quan

Mixed Content: The page at 'https://www.***.com/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://..*.:8282/'. This request has been blocked; this endpoint must be available over WSS.

  • 暂无评论
Quan

Uncaught DOMException: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.

  • 暂无评论
Quan

WebSocket connection to 'wss://www.***.com:4422/' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT

  • 暂无评论
Quan

已解决

年代过于久远,无法发表回答
×
🔝