{"id":4300,"date":"2021-12-08T14:48:30","date_gmt":"2021-12-08T20:48:30","guid":{"rendered":"https:\/\/www.incredigeek.com\/home\/?p=4300"},"modified":"2021-12-08T15:21:07","modified_gmt":"2021-12-08T21:21:07","slug":"add-unifi-protect-self-sign-certificate-to-windows","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/add-unifi-protect-self-sign-certificate-to-windows\/","title":{"rendered":"Add UniFi Protect Self Sign Certificate to Windows"},"content":{"rendered":"\n<p>Manually adding the UniFi Protect self signed certificate can be helpful if you are accessing the controller over the local network.  It has the benefit of letting your browser remember the password if wanted and not having to verify the certificate.<\/p>\n\n\n\n<p>First we need to acquire the certificate. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Acquire UniFi Protect Certificate<\/h2>\n\n\n\n<p>In a Chrome based web browser, go to the IP address of the UniFi Protect NVR<\/p>\n\n\n\n<p>Click in the URL bar where is says &#8220;Not secure&#8221; -> Certificate -> Details -> Copy to file<\/p>\n\n\n\n<p>Follow the export Wizard.  You can use the default settings.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Import Certificate <\/h2>\n\n\n\n<p>  You can now import the certificate by double clicking on the cert.  <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-7.png\"><img loading=\"lazy\" decoding=\"async\" width=\"405\" height=\"515\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-7.png\" alt=\"\" class=\"wp-image-4305\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-7.png 405w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-7-236x300.png 236w\" sizes=\"auto, (max-width: 405px) 100vw, 405px\" \/><\/a><figcaption>Importing unifi.local cert<\/figcaption><\/figure>\n\n\n\n<p>Note that it says to install the cert in the &#8220;Trusted Root Certification Authorities&#8221; store<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-12.png\"><img loading=\"lazy\" decoding=\"async\" width=\"535\" height=\"523\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-12.png\" alt=\"\" class=\"wp-image-4310\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-12.png 535w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-12-300x293.png 300w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-12-307x300.png 307w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/a><figcaption>Import unifi.local cert select Local Machine<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-13.png\"><img loading=\"lazy\" decoding=\"async\" width=\"535\" height=\"523\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-13.png\" alt=\"\" class=\"wp-image-4311\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-13.png 535w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-13-300x293.png 300w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-13-307x300.png 307w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/a><figcaption>Browse for Certificate Store<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-8.png\"><img loading=\"lazy\" decoding=\"async\" width=\"281\" height=\"263\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-8.png\" alt=\"\" class=\"wp-image-4306\"\/><\/a><figcaption>Select Trusted Root Certification Authorities<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-9.png\"><img loading=\"lazy\" decoding=\"async\" width=\"535\" height=\"523\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-9.png\" alt=\"\" class=\"wp-image-4307\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-9.png 535w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-9-300x293.png 300w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-9-307x300.png 307w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/a><figcaption>Importing unifi.local to the Trusted Root Certification Authorities<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-11.png\"><img loading=\"lazy\" decoding=\"async\" width=\"410\" height=\"380\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-11.png\" alt=\"\" class=\"wp-image-4309\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-11.png 410w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-11-300x278.png 300w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-11-324x300.png 324w\" sizes=\"auto, (max-width: 410px) 100vw, 410px\" \/><\/a><figcaption>Confirm unifi.local certificate import<\/figcaption><\/figure>\n\n\n\n<p>Now we can move on to Configuring the hosts file.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Add unifi.local to system hosts file<\/h2>\n\n\n\n<p>We need to add an entry for unifi.local as the cert if for unifi.local hostname and not the controllers IP address.<\/p>\n\n\n\n<p>We&#8217;ll essentially be following the same steps outlined in the following post.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-incredigeek wp-block-embed-incredigeek\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"gox9gIoWgH\"><a href=\"https:\/\/www.incredigeek.com\/home\/add-local-dns-entry-in-windows\/\">Add local DNS entry in Windows<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Add local DNS entry in Windows&#8221; &#8212; Incredigeek\" src=\"https:\/\/www.incredigeek.com\/home\/add-local-dns-entry-in-windows\/embed\/#?secret=NyjCUUZ3sv#?secret=gox9gIoWgH\" data-secret=\"gox9gIoWgH\" width=\"584\" height=\"329\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><figcaption>Add local DNS entry for unifi protect<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Launch notepad as administrator<\/li><li>Open the hosts file in <\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">C:\\Windows\\System32\\drivers\\etc\\<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-6.png\"><img loading=\"lazy\" decoding=\"async\" width=\"796\" height=\"438\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-6.png\" alt=\"\" class=\"wp-image-4303\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-6.png 796w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-6-300x165.png 300w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-6-768x423.png 768w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2021\/12\/image-6-500x275.png 500w\" sizes=\"auto, (max-width: 796px) 100vw, 796px\" \/><\/a><figcaption>Open Windows hosts file<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Add the following line to the bottom of your hosts file.  Change the IP address to the IP of your controller.<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">192.168.1.20 unifi.local<\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Save the file.<\/li><\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p>You should now be set.  Open a browser and got to https:\/\/unifi.local to access the UniFi Protect Controller.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Manually adding the UniFi Protect self signed certificate can be helpful if you are accessing the controller over the local network. It has the benefit of letting your browser remember the password if wanted and not having to verify the &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/add-unifi-protect-self-sign-certificate-to-windows\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[979,1275],"tags":[359,1274,1273,188,1272],"class_list":["post-4300","post","type-post","status-publish","format-standard","hentry","category-unifi","category-unifi-protect","tag-certificate","tag-certs","tag-protect","tag-unifi","tag-unifi-local"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/4300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=4300"}],"version-history":[{"count":4,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/4300\/revisions"}],"predecessor-version":[{"id":4316,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/4300\/revisions\/4316"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=4300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=4300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=4300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}