-
-
Notifications
You must be signed in to change notification settings - Fork 91
SSL
-
Download cameraui_server.cnf located in the "misc" folder and edit "commonName" and "alt_names"
-
Open terminal and navigate to the directory where the .cnf file is located
-
Type following command in terminal:
openssl genrsa -out cameraui_server.key 2048
openssl req -new -out cameraui_server.csr -key cameraui_server.key -config cameraui_server.cnf
openssl x509 -req -days 3650 -in cameraui_server.csr -signkey cameraui_server.key -out cameraui_server.crt -extensions v3_req -extfile cameraui_server.cnf
-
Open your config-ui-x interface, navigate to plugins and configure it. Under ssl, enter the .crt and .key path and restart.
-
Open your ssl enabled interface on your desktop browser
-
Open e.g. Chrome developer tool, navigate to Security and click on "View certificate"
-
Switch tab to Details and copy the file to desktop (just click next and give an example name for the file and save)
-
Double click the saved Certificate and click "Install Certificate"
-
Save the Certificate in "Trusted root certificate"
-
Click the icon to the left of the URL.
-
Drag the large certificate icon to a Finder window. A . cer file will be created in the location you drag it to.
-
Open up Keychain Access. You can get to it from Application/Utilities/Keychain Access.app.
-
Drag your certificate into Keychain Access.
-
Go into the Certificates section and locate the certificate you just added
-
Double click on it, enter the trust section and under “When using this certificate” select “Always Trust”
10/12. Send the on desktop saved certificate via Email to your mobile device and open the file on it.
11/13. eg on iPhone install the configuration file and also trust the root certificate (Settings > Info > Trusted Certificates Settings at bottom > Enable your certificate)
12/14. Open the Interface on your device and save it to your homescreen.