How to Profile?

I hit build and run, a page is opened in my browser:
https://localhost:25685/

I get an ssl related error.
Google Chrome:
SSL connection error
Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don’t have.

Firefox:
Secure Connection Failed
An error occurred during a connection to localhost:25685. SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long)

I’m just trying to profile my game. When I host the game using xampp it works fine, just not through Unity.

I’m running Windows 8.

It seems odd that it is trying to open a https:// url, as the simple web server built into Unity for Build & Run only supports http (without “s”). That said, for profiling, using your own web server, or local files should work just as well, you don’t have to use Unity’s server. You just need to build a development build with the profiler option enabled, and have the editor with a profiler window open.