diff --git a/atom.xml b/atom.xml index 9a526d848e..757abb181e 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@
If your Home Assistant instance is only accessible from your local network you can still protect the communication between your browsers and the frontend with SSL/TLS. Let’s encrypt will only work if you have a DNS entry and remote access is allowed. The solution is to use a self-signed certificate. As you most likely don’t have a certification authority (CA) your browser will conplain about the security. If you have a CA then this will not be an issue.
To create locally a certificate you need the OpenSSL command-line tool.
Change to your Home Assistant configuration directory like ~/.homeassistant
. This will make it easier to backup your certificate and the key. Run the command shown below.
$ openssl req -new -x509 -sha256 -newkey rsa:4096 -nodes -keyout privkey.pem -days 730 -out fullchain.pem
+The certificate must be .pem
extension.
+If you are going to use this certificate with the iOS app, you need to ensure you complete all fields during the cetificate creation process, then:
+
+ - Send only
certificate.pem
file to the iOS device using airdrop or other transfer method.
+ - Open the
.pem
file on the iOS device, follow the prompts to trust and install it.
+ - If you are using iOS 10.3 or newer then additioal steps are needed.
+
+$ openssl req -sha256 -newkey rsa:4096 -nodes -keyout key.pem -x509 -days 730 -out certificate.pem
-For details about the parameters, please check the OpenSSL documentation. Provide the requested information during the generation process. At the end you will have two files called privkey.pem
and fullchain.pem
. The key and the certificate.
+For details about the parameters, please check the OpenSSL documentation. Provide the requested information during the generation process. At the end you will have two files called privkey.pem
and certificate.pem
. The key and the certificate.
Update the http:
entry in your configuration.yaml
file and let it point to your created files.
http:
api_password: YOUR_SECRET_PASSWORD
- ssl_certificate: /home/fab/.homeassistant/fullchain.pem
- ssl_key: /home/fab/.homeassistant/privkey.pem
+ ssl_certificate: /home/your_user/.homeassistant/certificate.pem
+ ssl_key: /home/your_user/.homeassistant/privkey.pem
A tutorial “Working with SSL Certificates, Private Keys and CSRs” could give you some insight about special cases.
diff --git a/sitemap.xml b/sitemap.xml
index 32f21307f4..2807d70342 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -3306,7 +3306,7 @@
https://home-assistant.io/components/switch.hook/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/cookbook/automation_for_rainy_days/
@@ -3938,99 +3938,99 @@
https://home-assistant.io/docs/autostart/init.d/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/api/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/configuration/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/example_apps/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/installation/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/operation/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/reboot/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/running/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/tutorial/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/updating/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/windows/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/ecosystem/certificates/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/ecosystem/hadashboard/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/ecosystem/hass-configurator/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/ecosystem/ios/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/ecosystem/nginx/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/ecosystem/notebooks/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/ecosystem/scenegen/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/ecosystem/synology/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/tools/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/tools/dev-tools/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/tools/hass/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/docs/tools/scripts/
-2017-09-18T05:28:18+00:00
+2017-09-18T05:35:51+00:00
https://home-assistant.io/faq/after-upgrading/
@@ -5034,62 +5034,62 @@
https://home-assistant.io/demo/frontend.html
-2017-09-18T05:27:44+00:00
+2017-09-18T05:35:01+00:00
https://home-assistant.io/demo/index.html
-2017-09-18T05:27:44+00:00
+2017-09-18T05:35:01+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-event.html
-2017-09-18T05:27:44+00:00
+2017-09-18T05:35:01+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-info.html
-2017-09-18T05:27:44+00:00
+2017-09-18T05:35:01+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-service.html
-2017-09-18T05:27:44+00:00
+2017-09-18T05:35:01+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-state.html
-2017-09-18T05:27:44+00:00
+2017-09-18T05:35:01+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-template.html
-2017-09-18T05:27:44+00:00
+2017-09-18T05:35:01+00:00
https://home-assistant.io/demo/panels/ha-panel-history.html
-2017-09-18T05:27:44+00:00
+2017-09-18T05:35:01+00:00
https://home-assistant.io/demo/panels/ha-panel-iframe.html
-2017-09-18T05:27:44+00:00
+2017-09-18T05:35:01+00:00
https://home-assistant.io/demo/panels/ha-panel-logbook.html
-2017-09-18T05:27:44+00:00
+2017-09-18T05:35:01+00:00
https://home-assistant.io/demo/panels/ha-panel-map.html
-2017-09-18T05:27:44+00:00
+2017-09-18T05:35:01+00:00
https://home-assistant.io/googlef4f3693c209fe788.html
-2017-09-18T05:27:44+00:00
+2017-09-18T05:35:01+00:00
https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html
-2017-09-18T05:27:44+00:00
+2017-09-18T05:35:01+00:00
https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html
-2017-09-18T05:27:44+00:00
+2017-09-18T05:35:01+00:00
https://home-assistant.io/static/mdi-demo.html
-2017-09-18T05:27:44+00:00
+2017-09-18T05:35:01+00:00