Generate SuperMicro IPMI license

Thank-you, Peter Kleissner, for saving me from having to use my time machine to simply update my server’s BIOS:¬†https://peterkleissner.com/2018/05/27/reverse-engineering-supermicro-ipmi/

Supermicro IPMI License Key (for updating BIOS) = HMAC-SHA1-96(INPUT: MAC address of BMC, SECRET KEY: 85 44 E3 B4 7E CA 58 F9 58 30 43 F8)

echo -n 'bmc-mac' | xxd -r -p | openssl dgst -sha1 -mac HMAC -macopt hexkey:8544E3B47ECA58F9583043F8 | awk '{print $2}' | cut -c 1-24

6 thoughts on “Generate SuperMicro IPMI license”

  1. It can be improved a bit. Add:
    | fold -w4 | paste -sd’-‘ –
    to the end of command, so it will be formatted with dashes.

    Then it could be used in such command:
    ./sum -i 123.123.123.123 -u ADMIN1 -p PASSWORD1 -c ActivateProductKey –key $(supermicro-gen-licence.sh)

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.