kchristensen / udm-le

Let's Encrypt support for Ubiquiti UniFi OS
MIT License
565 stars 79 forks source link

[BUG] `rc.radius` does no longer exist and cannot be used to restart FreeRADIUS #62

Closed tomudding closed 2 years ago

tomudding commented 2 years ago

Describe the bug In certain configurations/newer versions of the UDM(P) rc.radius does no longer exist, which can prevent FreeRADIUS from actually using newly issued certificates.

https://github.com/kchristensen/udm-le/blob/6fbb25a14e6f7ceefbb52f129ede6f55b332e481/udm-le.sh#L91

To Reproduce Steps to reproduce the behavior:

  1. Configure to issue radius certificates.
  2. Observe that FreeRADIUS is not restarted and does not use correct certificates.

Expected behavior The FreeRADIUS service is restarted and uses the newly issued certificates.

Screenshots N/A

Version Information (please complete the following information):

Additional context rc.radiusd should be used instead.