firstly welcome to the cocos creator community!
I am really interested in knowing how to establish a wss connection in creator. I tried:
but the above just gave me an error that the certificate is invalid. this may be because for testing purposes we are using a self-validated certificate at the server end, and that may be generating the error. we have created an echo server at the url and port, and even an https request in the browser doesn’t establish a connection. do you think this is only because we are not using a proper certificate?
also, when establishing a wss connection, do we need to provide a path to the certificate existing locally(on the client)? @Orlan proposed so, but I think that is not the right way as the player of the game won’t have access to any certificate. anyway, it would be great to know your thoughts on the matter.