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
2446 posts

Uber Geek

Subscriber

  #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!


Affiliate link
 
 
 

Affiliate link: NordVPN allows you to securely access the Internet, encrypt your connection and keep your browsing history private.
reven
3518 posts

Uber Geek

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

/dev/ttys0
11013 posts

Uber Geek

Moderator
ID Verified
Trusted
Lifetime subscriber

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




Michael Murphy | https://murfy.nz | https://keybase.io/michaelmurfy - Referral Links: Sharesies | Electric Kiwi
Are you happy with what you get from Geekzone? Please consider supporting us by making a donation.




Benoire
2446 posts

Uber Geek

Subscriber

  #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
3826 posts

Uber Geek

ID Verified
Subscriber

  #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!


Benoire
2446 posts

Uber Geek

Subscriber

  #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

/dev/ttys0
11013 posts

Uber Geek

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 | https://keybase.io/michaelmurfy - Referral Links: Sharesies | Electric Kiwi
Are you happy with what you get from Geekzone? Please consider supporting us by making a donation.




CYaBro
3826 posts

Uber Geek

ID Verified
Subscriber

  #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.


CYaBro
3826 posts

Uber Geek

ID Verified
Subscriber

  #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?


YadaMe
110 posts

Master Geek


  #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

/dev/ttys0
11013 posts

Uber Geek

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 | https://keybase.io/michaelmurfy - Referral Links: Sharesies | Electric Kiwi
Are you happy with what you get from Geekzone? Please consider supporting us by making a donation.


CYaBro
3826 posts

Uber Geek

ID Verified
Subscriber

  #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.

 

 


ZollyMonsta
2965 posts

Uber Geek

Trusted

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

CYaBro:

 

test

 

 

 

 

It works!





 

 

Cloud Apps & Media DevOps Engineer @ Vodafone
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
7067 posts

Uber Geek


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

You is using the bad words


CYaBro
3826 posts

Uber Geek

ID Verified
Subscriber

  #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. :)


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





News and reviews »

GoPro Hero10 Black Review
Posted 8-Aug-2022 17:41


Amazon to Acquire iRobot
Posted 6-Aug-2022 11:41


Samsung x LIFE Picture Collection Brings Iconic Moments in History to The Frame
Posted 4-Aug-2022 17:04


Norton Consumer Cyber Safety Pulse Report: Phishing for New Bait on Social Media
Posted 4-Aug-2022 16:50


Microsoft Announces New Solutions for Threat Intelligence and Attack Surface Management
Posted 3-Aug-2022 21:54


Seagate Addresses Hyperscale Workloads with Enterprise-Class Nytro SSDs
Posted 3-Aug-2022 21:50


Visa Launching Eco-friendly Payment Solutions in New Zealand
Posted 3-Aug-2022 21:48


NCR Delivers Services to Run Bank of New Zealand ATM Network
Posted 30-Jul-2022 11:06


New HP Portfolio Supports New Era of Hybrid Work
Posted 28-Jul-2022 17:14


Harman Kardon Launches Citation MultiBeam 1100 Soundbar
Posted 28-Jul-2022 17:10


Nanogirl Labs Launches Creator Project
Posted 28-Jul-2022 17:05


Marvel Snap Launches as an Action Collectible Card Game
Posted 26-Jul-2022 17:46


Jabra Talk 65 Review
Posted 26-Jul-2022 17:31


Huawei Watch D Review
Posted 26-Jul-2022 17:26


Huawei Introduces Watch Fit 2
Posted 14-Jul-2022 17:06









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.







Backblaze unlimited backup