- Use SFTP to connect to the cloud key with the cloud key credentials
- Copy the private folder (*/etc/ssl/private) to your local computer
Create files named appropriately for each of the following:
- Certificate
- Intermediate Certificate
- Root Certificate
- Private Key They don't need any extensions. They need a blank line at the
Create a copy of the folder named private, in this folder you will have 4 files:
- cloudkey.crt
- cloudkey.key
- unifi.keystore.jks
- unifi.keystore.jks.md5
You will edit them to have the new certificate information
Delete the contents of this file and paste in order:
- Certificate
- Intermediate certificate
- Root Certificate
- Blank Line It will look like this:
-----BEGIN CERTIFICATE-----
***************************
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
***************************
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
***************************
-----END CERTIFICATE-----
^^^ NOTE THE BLANK LINE^^^^
Delete the contents of this file and paste in order:
- Private key
- Blank Line It will look like this:
-----BEGIN RSA PRIVATE KEY-----
*********
-----END RSA PRIVATE KEY-----
^^^ NOTE THE BLANK LINE^^^^
- Open this file in KeyStore Explorer the password is
aircontrolenterprise
- Delete certificate chain that exists
- Import key pair type open ssl
- Deselect encripted
- Select private key
- Select certificate
- When prompted for a password don't enter anything just click ok
- When prompted for a name put unifi
- Append Intermediate Certificate
- Right click newly created certificate chain
- Edit certificate chain
- Append Certificate
- Select the Intermediate Certificate
- Append Root Certificate
- Right click newly created certificate chain
- Edit certificate chain
- Append Certificate
- Select the Root Certificate
- Save and exit KeyStore Explorer
This file contains the md5 sum of unifi.keystore.jks and its location. Replace the md5 sum with the new one. you can create it by running:
md5 unifi.keystore.jks
It will look like this:
3f234d61765d05c08000222e5efea2db */etc/ssl/private/unifi.keystore.jks
^^^ NOTE THE BLANK LINE^^^^
- Use SFTP to connect to the cloud key with the cloud key credentials
- Replace the private folder (*/etc/ssl/private) with the new one you created