Skip to content

Commit d7c06bb

Browse files
committed
Update Basic Station authentication docs after #129.
1 parent ae3ee38 commit d7c06bb

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

docs/content/backends/basic-station.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,28 @@ The [Semtech Basic Station](https://doc.sm.tc/station/) backend implements
1212
the [LNS protocol](https://doc.sm.tc/station/tcproto.html). It exposes a
1313
websocket handler to which Basic Station powered gateways can connect.
1414

15-
It supports the following authentication modes:
15+
## Authentication modes
1616

17-
* No Authentication
18-
* TLS Server Authentication
19-
* TLS Server and Client Authentication
17+
### No Authentication
18+
19+
The LoRa Gateway Bridge will not perform any authentication or authorization
20+
and all connections are accepted.
21+
22+
### TLS Server Authentication
23+
24+
The `basic_station` backend [Configuration]({{<ref "install/config.md">}}) must
25+
be configured with a `tls_cert` and `tls_key`. The CA certificate used to sign
26+
the server TLS certificates must be provided to the Basic Station so that the
27+
gateway is able to authenticate the LoRa Gateway Bridge.
28+
29+
### TLS Server and Client Authentication
30+
31+
Added to the _TLS Server Authentication_, the `basic_station` backend [Configuration]({{<relref "install/config.md">}})
32+
must be configured with the `ca_cert` used to sign the used Basic Station
33+
client certificates.
34+
35+
**Important:** The _Common Name (CN)_ must contain the _Gateway ID_ (64 bits)
36+
of each gateway as a HEX encoded string, e.g. `0102030405060708`.
2037

2138
## Channel-plan / `router_config`
2239

0 commit comments

Comments
 (0)