Secure connection (HTTPS)

Updated:

Over https://, the connection between the browser and PlantBeat is encrypted. On the Box, the Federation and the interface (API) only run this way.

The "Secure connection (HTTPS)" card is under Settings, section "Access & security". Only administrators can change it.

What the card shows

  • Encrypted access: "running", "no certificate yet" or "not set up on this device".
  • Certificate: "created by the device itself" or "your own, uploaded".
  • Issued for: the names and addresses the certificate is valid for.
  • Valid until: the expiry date, shortly before it with the note "only … days left".
  • Reachable at: the addresses at which you open the Box encrypted, for example https://plantbeat.local. One click selects the address for copying.

On the PlantBeat Box, encrypted access is set up by default. The Box creates its own certificate at startup and can be reached over port 443.

On Windows, PlantBeat only opens an HTTPS port (5211) if the installation is a Federation master or has an API access entry. Otherwise the card shows "not set up on this device". See Firewall rules.

The browser warning

Because PlantBeat issues its own certificate, the browser warns once on the first visit. This is normal, and the connection is still encrypted. To avoid the warning completely, upload your own certificate (see below).

Enter your own address

If you open the Box through a custom DNS name of your plant, this name should be in the certificate. Otherwise the browser warns for exactly this address.

  1. Enter the name in the Address at which the device is reachable field. Only the name: without https://, without a port, without a path and without an IP address.
  2. Click Apply.

PlantBeat creates a new certificate as soon as the address has changed. The browser then asks once on the next visit.

Leaving the field empty is perfectly fine. The certificate then applies to plantbeat.local and the IP addresses of the device.

Tip

If viewing without sign-in is allowed, also enter the same name under "Additional host names" in the "Access protection" card. See Users and roles.

Use your own certificate

You don't need this in the normal case. If your IT has an officially issued certificate, the browser no longer warns with it.

  1. Expand Use your own certificate.
  2. Select the PFX file (extension .pfx or .p12, with private key).
  3. If needed, enter the Password of the file.
  4. Click Apply certificate.

PlantBeat checks the certificate before applying it. If it is rejected, the previous one stays in operation unchanged. With Use the self-created one again, you return to the PlantBeat certificate.

Warning

PlantBeat renews a self-created certificate on its own at the next start. PlantBeat cannot renew an uploaded certificate. Upload a new one in good time before the expiry date.

Encrypted access only

With Encrypted access only, PlantBeat redirects requests over http:// to https://. This is off by default.

  1. First check that access over https:// works for you.
  2. Then tick Encrypted access only and click Apply.

If the device is not accepting encrypted connections at the moment, the card does not offer the switch. Otherwise a redirect would lead nowhere.

Next steps