Back to Blog
Keystore explorer import pfx5/24/2023 ![]() The issue is related to the fact that ace.jar on these UniFi versions cannot parse the new string (\n) symbol. Important: There is a known bug on some of the most common modern UniFi versions: after importing the files on the server, an error “Unable to import the certificate into keystore” appears. The restart process may take a bit of time, depending on your machine and the number of applications running. If UniFi is configured as a Windows service, you can do this with the following commands: On Windows, close the UniFi application and start it again using the application icon. ![]() Restart the UniFi controller to apply the changes: Tip: Add sudo at the beginning of the command on Linux/MacOS if you are not logged in as root. UniFi will ask to enter the keystore password ( aircontrolenterprise unless it was changed in your UniFi settings) and confirm the certificate’s import. Note: *your certificate* should be replaced with your actual file name. Java -jar lib/ace.jar import_cert *your certificate*.crt SectigoRSADomainValidationSecureServerCA.crt USERTrustRSAAddTrustCA.crt addtrustexternalcaroot.crt For the standard Domain Validation type SSL, the command will be: crt file received from the Certificate Authority), root certificate, and intermediate certificates from the received archive in the UniFi base folder. Upload the security certificate file in PEM format (. On Windows: "%USERPROFILE%/Ubiquiti Unifi" or "C:\Users\*account username*\Ubiquiti UniFi" On MacOS: ~/Library/Application Support/UniFi On CentOS, RedHat, Fedora, and other RHEL Linux: /opt/unifi/ On Debian, Ubuntu, UniFi Cloud Key, and Debian-based Linux: /usr/lib/unifi/ The *Unifi base folder* needs to be replaced with the following: Go to the UniFi controller main folder by running: For this, you can run the following command on the Linux-based system: On Linux/MacOS, you should have root or sudo user access. Properties Compatibility mark the Run this program as an administrator OK. To do this, right-click the program icon and choose Run as administrator option or do it this way: Important: Make sure you start the application with administrator rights on Windows. On the Windows server, run cmd or PowerShell (connected via remote desktop if needed). On Linux-based servers, you can use Putty (on Linux- or Windows-based machines) or a similar application. Follow the steps below to complete the SSL installation using ace.jar:Ĭonnect to your server through the command prompt. The certificate should be installed in the folder where the CSR code was generated. Restart UniFI Controller using this command:Īfter this, please go ahead with the SSL setup. Rm /usr/lib/unifi/data/keystore
0 Comments
Read More
Leave a Reply. |