Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

WebGL and https

Discussion in 'WebGL' started by GLeBaTi, Dec 14, 2017.

  1. GLeBaTi

    GLeBaTi

    Joined:
    Jan 12, 2013
    Posts:
    47
    Hello. I have server with https. And this server contain page with webgl
    Can i communicate safely with my server from webgl application? Does unity can validate my certificate? (or this is build-in in browser?)
     
  2. grimunk

    grimunk

    Joined:
    Oct 3, 2014
    Posts:
    270
    Unity communicates via the browser - using either the web request object or websockets. If you are communicating with your server using the web request object via https it will work. It will also work with unsecured websockets, but not for long - I was actually at Google today and talked to a chrome dev who told me the change is coming 'sooner rather than later' - so you will also have to switch to secured websockets.
     
  3. GLeBaTi

    GLeBaTi

    Joined:
    Jan 12, 2013
    Posts:
    47
    Thank you. This is good :)