Skip to content

SSL on ip-adresses: net::ERR_CERT_AUTHORITY_INVALID #287

@coderofsalvation

Description

@coderofsalvation
  websocat -E -b -s --pkcs12-der ~/.websocat/q.pkcs12 0.0.0.0:9090 2>&i1 

I can connect succesfully on my local machine (from webpage https://localhost:8080/index.html with a websocket client)
However, when I load that same webpage on another device via its external ip (`https://192.168.0.44:8080/index.html), then the webbrowser fails and throws:

WebSocket connection to 'wss://192.168.0.44:9090/' failed: Error in connection establishment: net::ERR_CERT_AUTHORITY_INVALID

This seems no issue when using real domains, certificates, or reverse/websocket proxies.
However, just out of intranet curiosity: is there an easy way to get websocat encryption with IP-adresses?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions