Reply
Ubiquiti Employee
Posts: 3,006
Registered: ‎09-08-2017
Kudos: 1151
Solutions: 211

Re: I want to install a certificate on my UNMS server, I Working on this for days' no success

@your845  Hello Abraham. You need to set the SSH key. Please use the installation tag '--ssl-cert-key'. 

 

 

UBNT_Alternate_Logo.png
UNMS Support - If you want to report an issue please use this guide.

Check out our ever-evolving Help Center for answers to many common questions!

New Member
Posts: 13
Registered: ‎10-14-2018

Re: I want to install a certificate on my UNMS server, I Working on this for days' no success

So I ren it as following

curl -fsSL https://unms.com/install > /tmp/unms_inst.sh && sudo bash /tmp/unms_inst.sh --http-port 8080 --https-port 8443 ---ssl-cert-dir /home/unms/data/cert '--ssl-cert unms.mydomain.com.pem' '--ssl-cert- ca unms.mydomain.com.pem'

Got the foloowing result

branch=master
version=0.13.1
Downloading installation package for version 0.13.1.
Setting HTTP_PORT=8080
Setting HTTPS_PORT=8443
Setting SSL_CERT_DIR=/home/unms/data/cert
Setting SSL_CERT=unms.initializebiz.com.pem
Setting VERSION=0.13.1
Please set --ssl-cert-key
abraham@UBNT:/home$ ' --ssl-cert-key'

But I don't see any certificate created in /home/unms/data/cert

 

Member
Posts: 152
Registered: ‎08-14-2015
Kudos: 57
Solutions: 1

Re: I want to install a certificate on my UNMS server, I Working on this for days' no success

You stated previously that you wanted to create and use your own certificate.

- If you have not put the certificate there, why would it exist?

 

New Member
Posts: 13
Registered: ‎10-14-2018

Re: I want to install a certificate on my UNMS server, I Working on this for days' no success

Seams I am ahead a step, meaning trying to install a certificate before it's created. in Unifi you create a certificate request running the following cmd

sudo java -jar lib/ace.jar new_cert unifi.mydomain.com “My Company Name” City State Country

But was told by UBNT-Radek in beginning “The mention about ace.jar is not relevant for solving your UNMS issue as that is a part of UniFi system”.

So how do I create the certificate request I ubnt? 

Member
Posts: 152
Registered: ‎08-14-2015
Kudos: 57
Solutions: 1

Re: I want to install a certificate on my UNMS server, I Working on this for days' no success

Have you purchased a certificate, or are you trying to create a self-signed certificate?

- If you don't want to PAY for a certificate, then why not use the default Let'sEncrypt FREE certificate system integrated into UNMS.

- If you want to create your own self-signed one, then follow one of the hundreds of guides online.

(and you will will get non-secure messages as they are not from a trusted cert generator)

 

Reply