You'll need to have a domain to get SSL working, so instead of using
ip4 you'll need to be using
dns4 and point it at the domain, adding
wss instead of just
ws in the end of the address.
We're running a example star-signal instance for dev, you can connect to it with
/libp2p-webrtc-star/dns4/star-signal.cloud.ipfs.team/wss, you just have to change
star-signal.cloud.ipfs.team to your own domain to use your own star-signal server.