Using FreeRadius for Supermicro IPMI

1. Create a new FreeRadius Virtual site for Supermicro IPMI (without enabling SQL support)

2. Edit /usr/local/etc/raddb/dictionary and add a new attribute

ATTRIBUTE	IPMI-radius		26	octets

3. Edit /usr/local/etc/raddb/policy.d/foo and add

foo {
      update reply {
        # Vendor-Specific = "H=4"
        &Attr-26 = 0x483D34

0x483D34 is Hex Code for String "H=4"

If you need other type of permission (e.g. H=3) just change the string to hex code.

Certbot usage (Free SSL certificate generation)

Generate and install SSL certifcate using Certbot:

1. Install Certbot from FreeBSD ports:

cd /usr/ports/security/py-certbot
make install clean

2. Generate a free SSL

certbot certonly --webroot

3. Enter the web root and hostname for certificate

4. Make change to Apache configration and restart Apache

5. Add the following command to cron and run once a day