cisco — Configuring the HTTP Server

Configuring the HTTP Server To use web-based authentication, you must enable the HTTP server within the device. You can enable the server for either HTTP or HTTPS. The Apple psuedo-browser will not open if you configure only the ip http secure-server command. You should also configure the ip http server command. Note Follow the procedure given below to enable the server for either HTTP or HTTPS: Procedure Web-Based Authentication Configuring the HTTP Server Command or Action Purpose Device# end Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. • Enter your password if prompted. Step 2 configure terminal Example:

Device# configure terminal Enters global configuration mode. Step 3 ip http server Example: Device(config)# ip http server Enables the HTTP server. The web-based authentication feature uses the HTTP server to communicate with the hosts for user authentication. Step 4 ip http secure-server Example: Device(config)# ip http secure-server Enables HTTPS. You can configure custom authentication proxy web pages or specify a redirection URL for successful login. Note To ensure secure authentication when you enter the ip http secure-server command, the login page is always in HTTPS (secure HTTP) even if the user sends an HTTP request. Web-Based Authentication 17