where to get cacert.pem?

facebook instance game need wss, how to use wss?
maybe i need a cacert.pem file? and where to get it? and how to use it?
ps: I use cocos creator game engine.

Comments

  • PogoRockGames
    edited September 2018
    [PhotonSDK] Connecting to Master wss://{serverAddress}:19090
    Photon-Javascript_SDK.js:86 WebSocket connection to 'wss://{serverAddress}:19090/' failed: Error in connection establishment: net::ERR_CERT_COMMON_NAME_INVALID
  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @PogoRockGames,

    It looks like you are using an outdated client JavaScript SDK.
    What version are you using?
    Could you update to the latest and retry?

    The addresses you provided are legacy addresses and should not be used anymore.
  • oh, thank you..