

This opens the app Keychain Access and adds the certificate to your keychain.
#BONJOUR BROWSER APP INSTALL#

Sharing Certificates To Devicesīefore remote devices can connect to the secure Preview Server, you must install and trust CodeKit's TLS certificate on those devices. Using a different, better browser will also help. Because of this, to use TLS in Firefox you must first enable enterprise certificates in Firefox and then install CodeKit's certificate in Firefox. Instead of using the system-wide Keychain, Mozilla insists on having their own. It Doesn't Work In Firefox!įirefox is a bad citizen of macOS.
#BONJOUR BROWSER APP MAC#
You must tell your Mac to trust that certificate, which is why you're prompted for your password. Why Am I Asked For My Password?ĬodeKit automatically generates the certificate required to run a secure server. NOTE: When TLS is enabled, if you forget to type instead of the page will hang and fail to load. CodeKit's server will restart and you'll see addresses.

To enable it, simply click the checkbox in the Server Popover. In those cases, use the Non-Bonjour address.ĬodeKit supports TLS (formerly called SSL) on the Preview Server. WARNING: On some networks, the Bonjour address may not behave correctly. Use this if your Mac is not connected to any network. The final address is always just localhost:5757. It will always be: Mac's local IP address]:5757 This Mac Only

#BONJOUR BROWSER APP ANDROID#
The non-Bonjour address is for devices like Android or Windows, which don't support Bonjour networking. If your computer's name is long, you can shorten it in the Sharing Pane of macOS's System Preferences. This will always have the form computer name]:5757. The popover that appears shows three addresses. When you save a page or script, however, the whole site reloads to capture those changes.Ĭlick the Server Button at the top of CodeKit's window. When you save a stylesheet, CodeKit refreshes the browser by injecting changes without reloading the entire page. When you use an external server, CodeKit becomes a reverse-proxy it talks to your external server to load content. That's the only one CodeKit will auto-refresh. If you're using MAMP and have not changed any defaults, it's usually or it might be a custom virtual host you configured, like Which Address Do I Load In My Browser?ĪLWAYS go to CodeKit's internal server address (the one that opens when you click the "Preview" button). The address of the server you set up in step one. What Address Do I Enter In The Textfield?
