Configurer HTTPS pour Ather Admin

Servez la console Admin en HTTPS sur votre réseau avec votre propre certificat, et désactivez le HTTP non chiffré.

8 min Ather Admin Admin 1.0.6.1 Core 0.6.1
Guide en anglais

Ce guide n'est disponible qu'en anglais pour le moment. Les noms des menus et des champs correspondent à l'interface d'Ather Admin en anglais.

Before you start
  • An Admin user with System settings: Write.
  • A certificate for the name people will type, such as admin.example.com, as a .pfx or .p12 file with its password. For testing, Admin can make a self-signed one.
  • A DNS name or fixed IP address for the Admin server, and TCP 5011 (or the port you choose) open to it.

When Ather Admin starts for the first time it writes its appsettings.json with two addresses:

AddressDefaultReachable from
HTTPhttp://::5010Every network interface
HTTPShttps://localhost:5011Only the Admin machine itself, with a self-signed certificate made at install

So out of the box, people on the network reach Admin over plain HTTP, and passwords cross the network readable. This guide moves them to HTTPS.

Add your certificate

Open Settings > Server and find Certificates.

  • Upload: choose the .pfx or .p12 file and enter its password, if it has one.
  • Generate self-signed: enter a Common name, the Other names people will use (one host name or IP address per line) and how many days it is valid. Browsers warn about it until they are told to trust it, so keep this for testing and closed networks.

The list shows each certificate's subject, names, validity and status. Certificates are kept on the server running Admin.

Listen for HTTPS on the network

Under Addresses, edit the HTTPS address:

  • Address: change https://localhost:5011 to https://::5011 to listen on every interface, or use one IP address, such as https://10.0.0.5:5011.
  • Certificate: choose the one you added. Each HTTPS address has its own certificate.

You can add more addresses with Add address, for example a second HTTPS address on port 443.

Turn off plain HTTP

Switch the HTTP address Off, or keep it for the Admin machine only by changing it to http://localhost:5010. At least one address must stay on.

Don't lock yourself out

If you are connected through the address you are changing, Admin tells you where to reconnect after the restart. Make sure that address works from your computer and the firewall allows its port before you restart.

Save and restart the server

Choose Save, then Restart server. Admin stops for a few seconds and everyone using it is disconnected briefly. Open it again at the new address, for example https://admin.example.com:5011, and check the browser shows the connection as secure.

Update anything that points at the old address

  • Event Scheduler: change this Admin's Reachable at address to the new https:// address, so other Admins can still reach it.
  • Bookmarks and links your team uses.
  • Containers: publish the new port, for example -p 5011:5011.

Editing appsettings.json by hand

The same settings live under Kestrel in appsettings.json in Admin's data folder. Admin's settings page is the safer way to change them, because it checks the certificate and its password before you restart.

"Kestrel": {
  "Endpoints": {
    "Http": { "Url": "http://localhost:5010" },
    "Https": {
      "Url": "https://::5011",
      "Certificate": {
        "Path": "/path/to/admin.example.com.pfx",
        "Password": "..."
      }
    }
  }
}

Next: secure the cores

HTTPS protects the browser's connection to Admin. To protect Admin's connection to each core, issue the cores certificates and require credentials on gRPC: see Secure gRPC between Admin and cores.

Pour aller plus loin

Guides associés

Tous les documents