Update security.md (#1810)

Add that openHAB ports should be configured before running openHAB
pull/1839/head
Martin Hogg 2022-05-15 17:25:49 +01:00 committed by GitHub
parent c12b29991b
commit 5c654320c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ openHAB has mainly two ways to be accessed:
openHAB has a built-in webserver, which listens on port 8080 for HTTP and 8443 for HTTPS requests.
In general, it is advised to use HTTPS in perefence to HTTP.
The default ports 8080 and 8443 can be changed by setting the environment variables `OPENHAB_HTTP_PORT` resp. `OPENHAB_HTTPS_PORT`.
The default ports 8080 and 8443 can be changed by setting the environment variables `OPENHAB_HTTP_PORT` resp. `OPENHAB_HTTPS_PORT`prior to running openHAB for the first time.
In an apt installation, you would best do this in the file `/etc/default/openhab`.
### SSL Certificates