Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | ... | 9
Benoire
2811 posts

Uber Geek
+1 received by user: 627


  #1700430 9-Jan-2017 09:33
Send private message

michaelmurfy:

 

CYaBro:

 

@michaelmurfy Will you write a guide on how to create and install the letsencrypt cert on the unifi controller? :)

 

 

Sure. I did it at around 2am but essentially what happens is I have the certbot script that runs to updates the NGINX SSL certificate which invokes another script to put that same certificate into the Java cert store and restarts the UniFi controller. It was a script I found on Github Gist but was quite easy to get up and running.

 

 

I'd love to see this guide too! I've got a unifi controller on a linux VM and was going to use StartSSL as I've got some of my sub left over with them but given their owners recent issues and the browser groups considering blocking their SSLs I would rather move to another public CA and lets encrypt seems rather good to me!




reven
3746 posts

Uber Geek
+1 received by user: 870

Trusted

  #1700465 9-Jan-2017 10:44
Send private message

Thanks to this thread, i decided to see if unRAID had a docker image for ubiquiti, and sure enough it does.  so quickly added that and yeah, a lot easier than tying to remember which computer I installed the software on :)


michaelmurfy

meow
13367 posts

Uber Geek
+1 received by user: 10370

Moderator
ID Verified
Trusted
Lifetime subscriber

  #1700480 9-Jan-2017 11:48
Send private message




Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)

Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.




Benoire
2811 posts

Uber Geek
+1 received by user: 627


  #1700500 9-Jan-2017 13:00
Send private message

michaelmurfy:

 

@CYaBro @Benoire Here is a quick guide on my blog: https://murfy.nz/2017/01/ubiquiti-unifi-secure-installation/

 

 

Thank you so much!  Will have a go at this later, be good to get rid of the annoying cert errors.


CYaBro
4606 posts

Uber Geek
+1 received by user: 1121

ID Verified
Trusted

  #1700509 9-Jan-2017 13:23
Send private message

michaelmurfy:

 

@CYaBro @Benoire Here is a quick guide on my blog: https://murfy.nz/2017/01/ubiquiti-unifi-secure-installation/

 



 

And thank you from me!





Opinions are my own and not the views of my employer.


Benoire
2811 posts

Uber Geek
+1 received by user: 627


  #1700571 9-Jan-2017 16:41
Send private message

@michaelmurfy should the domain that replaces example.org be FQDN e.g. unifi.domain.com or does it attach itself to the hostname?  In simple terms should I replace domain.org with unifi.domain.com or just domain.com?

 

Thanks,

 

Chris


michaelmurfy

meow
13367 posts

Uber Geek
+1 received by user: 10370

Moderator
ID Verified
Trusted
Lifetime subscriber

  #1700572 9-Jan-2017 16:47
Send private message

Benoire:

 

Should the domain that replaces example.org be FQDN e.g. unifi.domain.com or does it attach itself to the hostname?  In simple terms should I replace domain.org with unifi.domain.com or just domain.com?

 

 

 

 

 

 

Either 127.0.0.1:8443 or unifi.example.org:8443 - as long as nginx knows where it is looking you'll be fine. I normally do my configurations so they can be moved to any machine with little or hardly any additional configuration needed.





Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)

Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.


 
 
 

Move to New Zealand's best fibre broadband service (affiliate link). Free setup code: R587125ERQ6VE. Note that to use Quic Broadband you must be comfortable with configuring your own router.
CYaBro
4606 posts

Uber Geek
+1 received by user: 1121

ID Verified
Trusted

  #1700947 10-Jan-2017 15:10
Send private message

@michaelmurfy Do you know what's the best way to move a couple of unifi devices from an onsite controller to my cloud controller?

 

Don't want to lose any of the current settings.





Opinions are my own and not the views of my employer.


CYaBro
4606 posts

Uber Geek
+1 received by user: 1121

ID Verified
Trusted

  #1701592 11-Jan-2017 18:30
Send private message

michaelmurfy:

 

Here is a quick guide on my blog: https://murfy.nz/2017/01/ubiquiti-unifi-secure-installation/

 

 

I just realised that my cloud controller is running on Ubuntu 14.04, will the instructions be the same?





Opinions are my own and not the views of my employer.


YadaMe
110 posts

Master Geek
+1 received by user: 44


  #1701715 11-Jan-2017 21:37
Send private message

Big thanks to michaelmurfy for setting this up. Makes keeping an eye on the network so much easier, especially when I don't have a PC on all the time.
Only real problem now is that I want to upgrade my old Netgear WNDR3700 running dd-wrt to a USG router.

michaelmurfy

meow
13367 posts

Uber Geek
+1 received by user: 10370

Moderator
ID Verified
Trusted
Lifetime subscriber

  #1701730 11-Jan-2017 22:28
Send private message

@CYaBro Ubuntu 14.04 doesn't have the LetsEncrypt package in the repository so you'll need to install this manually. There is a guide on https://certbot.eff.org/#ubuntutrusty-nginx on how to do this. Otherwise you can freely run a dist-upgrade to bring this up to Ubuntu 16.04. 





Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)

Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.


CYaBro
4606 posts

Uber Geek
+1 received by user: 1121

ID Verified
Trusted

  #1705111 18-Jan-2017 10:46
Send private message

test

 

Hmmm geekzone won't let me post something, I keep getting blocked, just trying to figure out what it is.

 

@michaelmurfy

 

I've got my server upgraded to 16.04.1 and following through your guide but getting stuck at the command where you say to run after "Next, tell the Certbot tool to grab a certificate for your site:"

 

It tells me that it cannot connect to the site.

 

I've opened ports 80 & 443 on the firewall and the Unifi controller itself is working fine on its ports so not sure where I'm going wrong?!

 

Also I had to remove the /default/ part from the webroot-path in that command as that folder doesn't exist on my server.

 

 





Opinions are my own and not the views of my employer.


ZollyMonsta
3009 posts

Uber Geek
+1 received by user: 379

ID Verified
Trusted

  #1705112 18-Jan-2017 10:47
Send private message

CYaBro:

 

test

 

 

 

 

It works!





 

 

Check out my LPFM Radio Station at www.thecheese.co.nz - Now on iHeart Radio, TuneIn and Radio Garden

 

As per the usual std disclaimer.. "All thoughts typed here are my own."


RunningMan
9004 posts

Uber Geek
+1 received by user: 4631


  #1705115 18-Jan-2017 10:57
Send private message

You is using the bad words


CYaBro
4606 posts

Uber Geek
+1 received by user: 1121

ID Verified
Trusted

  #1705116 18-Jan-2017 10:58
Send private message

RunningMan:

 

You is using the bad words

 

 

It didn't like me trying to post a linux command line. :)





Opinions are my own and not the views of my employer.


1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | ... | 9
View this topic in a long page with up to 500 replies per page Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.