Skip to content

Instantly share code, notes, and snippets.

@Zrubi
Created July 12, 2019 08:40
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Zrubi/0640093522cc4a00dbd397fa0b1a8a1d to your computer and use it in GitHub Desktop.
#!/bin/sh
# This script going to fix the IMM (v1) web access,by enabling HTTPS.
# Reference: https://support.lenovo.com/hu/en/solutions/ht504331
# First, you have to download and install the IBM Advanced Settings Utility.
# Then adjust your hostname, username and password. The script assuming factory defaults.
# self signed cert generation:
/opt/lenovo/toolscenter/asu/asu64 set IMM.https_service enable --host=192.168.70.125 --user=USERID --password=PASSW0RD
# SSL enable
/opt/lenovo/toolscenter/asu/asu64 set IMM.SSL_Server_Enable enable --host=192.168.70.125 --user=USERID --password=PASSW0RD
# reboot the IMM
/opt/lenovo/toolscenter/asu/asu64 rebootimm --host=192.168.70.125 --user=USERID --password=PASSW0RD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment