– I need to enter a source keystore password ‘unifi’ when importing
When I run it without srcstore$ it works however: This seems to be an unknown argument so not sure what it is supposed to do. I seem to have some issues with the keytool expression where it only works if I remove -srcstore$. p12 from drop down and then convert as per the openssl command in Step 3 OR export as. pem) and the localhost private key (select.
In Step 3, make sure to export both the localhost certificate (as.
#Ubnt install https certificate mac os x
I believe there is a small type on the chmod command where space is missing for the argumentĪlso it is important to restart the NAS for the variables to updated after installing java otherwise the keytool command will not be found. Ubiquiti Network Community: Installing an SSL Certificate Follow the CertSimple instructions to use Mac OS X Keychain Access to generate self-signed certificates for localhost.
#Ubnt install https certificate manual
It helps me a lot with manual effort trying to add the certificate after a renewal and one of the few really working. Keytool -importkeystore -deststorepass aircontrolenterprise -destkeypass aircontrolenterprise -destkeystore /volume1/docker/unifi-controller/data/keystore -srckeystore fullchain.p12 -srcstoretype PKCS12 -srcstorepass unifi -alias unifi -nopromptįirst off thanks for creating the guide. Would you like to see more of what Ubiquiti has to offer Click here to view our full software and file list. Openssl pkcs12 -export -inkey privkey.pem -in fullchain.pem -out fullchain.p12 -name unifi -password pass:unifi Optimize your wireless performance with real time, in-app data channel monitoring and modification. Make sure you point to the correct folder in the script on line4!Įcho "** Configuring new Let's Encrypt certs"Ĭd /usr/syno/etc/certificate/_archive/kCtrkf I placed it in the root of the /volume1/docker. You can place the script anywhere you like. Let’s now build a simple script to make the certificate and also renew it for Unify. Locate the folder with the Let’s Encrypt by doing an ls on the folder, the one that has the renew.json will be your Let’s Encrypt folder. It will show you some folder like this: B9ho1T DEFAULT INFO kCtrkf Now let’s find our Let’s Encrypt certificate I am not sure if we turn off Doorbell push notification on UniFi Protect can still trigger. ssh username:synologyipīackup the current self-signed certificate from Unifi:Ĭd /volume1/docker/unifi-controller/data/ The next step is to import the new SSL certificate. We need to use some cli here to make it easy later on.