Whenever you get a HP/Aruba 2530 switch out of the box, it comes default with web management enabled using http. You can easily go to the IP address of the switch to view the switch details. To secure the web portal of the switch, do the following:
- Log into the switch
- Go into configuration mode
- Create a self-signed certificate for secure http access
-
crypto pki enroll-self-signed certificate-name [SWITCHNAME] subject
- Enter each information requested
-
- To enable secure http, use command
-
web-management ssl
-
- To disable http for web management, use command
- no web-management plaintext
- To added a login for the web portal, use the command:
-
password manager user-name [loginname] plaintext [loginpassword]
-
I hope this was useful.