Use it when the web UI or RESTCONF is needed, and when auditing devices for unnecessary web servers.
HTTP / HTTPS Management
1. show ip http server status — HTTP server enabled? Should be no.
2. HTTPS needed (web UI, RESTCONF)? If not, no ip http secure-server.
3. If yes: ip http access-class restricts sources? Authentication AAA or local?
4. show ip http server secure status — TLS 1.2+ only, trusted certificate?
5. show control-plane host open-ports — only what is intended listens.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
ip http serverPrimary Commands
Configuration and operational commands for this Topic.
ip http serverReferenceEnable the unencrypted HTTP management server; prefer HTTPS.
Use when: Use this command at the Device Management / SSH / Management Plane boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. A listening SSH service does not prove VTY ACL, AAA, authorization, return routing or safe recovery.
Cisco IOS / IOS XE · mixedno ip http serverConfigureDisable the unencrypted HTTP management server.
Use when: Use this command at the Device Management / SSH / Management Plane boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. A listening SSH service does not prove VTY ACL, AAA, authorization, return routing or safe recovery.
Cisco IOS / IOS XE · mixedip http secure-serverReferenceEnable the HTTPS management server (also required by RESTCONF).
Use when: Use at the RESTCONF / NETCONF boundary after prerequisites have been verified.
Quick note: Operational guidance. HTTP 200 or NETCONF session-up does not prove the intended datastore mutation or operational effect.
Cisco IOS / IOS XE · mixedip http authentication localReferenceAuthenticate HTTP/HTTPS management users against the local user database.
Use when: Use this command at the Device Management / SSH / Management Plane boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. A listening SSH service does not prove VTY ACL, AAA, authorization, return routing or safe recovery.
Cisco IOS / IOS XE · mixedShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Read-only Verification Verify boundary
show ip http server status
show ip http server secure status
Check enabled state and authentication, then validate TLS name/chain and permitted/denied sources from the actual client path.
Step 2 HTTPS management: allowed and denied client checks Verify boundary
Use a test endpoint with the expected hostname and a certificate chain trusted through the approved process. From one permitted source, verify TLS identity and the intended read-only management action. From a separately approved denied source, verify that access is rejected at the designed boundary. A timeout alone does not establish which policy rejected it.
Use a restricted account to test an intentionally denied action without modifying device state. Retain console or independent SSH recovery before any reviewed source/authentication/certificate change. Restore exact prior bindings and test normal access again. Do not disable HTTPS without reviewing web/API dependencies or enable HTTP as a routine fallback.
These are bounded reference tests, not performed browser/device observations or new technical verification dates.
Step 3 Failure Signatures Narrow the fault
Certificate error: inspect name, trust chain and validity. HTTPS unreachable: inspect service state and source restrictions. Login accepted but operation denied: inspect authorization and dependent service policy.
Step 4 HTTPS management: TLS failure versus access-policy failure Narrow the fault
If TCP fails, inspect route/source and management filtering. If TLS fails, inspect expected DNS name/SAN, trust chain, validity interval, device/client time and supported TLS policy. Do not turn certificate checking off to call the issue resolved.
If TLS succeeds but login fails, inspect the configured authentication method and corresponding user/service. If login succeeds but the required operation is denied, inspect permission separately. A web-page response does not show RESTCONF or every API operation works; use the appropriate separate reference for that service.
Correlate a single approved client/time window with sanitized server logs. A TLS error, HTTP authorization response and network timeout are distinct observations. Preserve the first failure before changing a certificate, authentication setting or source ACL.
Subtopics
Go one level deeper into this subject.
Turn off what is not used: no ip http server, and no ip http secure-server if HTTPS is not needed either. If HTTPS is used: restrict it with ip http access-class, authenticate with ip http authentication aaa or local, and replace the self-signed certificate with one from a trusted CA if clients validate it. Several serious IOS XE vulnerabilities targeted the web UI — keep it off internet-facing interfaces.
show ip http server status— HTTP and HTTPS server enabled, authentication, access class.show ip http server secure status— HTTPS ciphers, TLS versions and trustpoint.show running-config | include ip http— configured settings.show control-plane host open-ports— TCP 80/443 listening.show crypto pki certificates— the certificate HTTPS presents.
ReferenceWhat it is2 sections · depth on demand
Direct Answer
Disable unused web management. Where required, prefer HTTPS with validated certificate identity, reviewed authentication and restricted management sources.
What it is
The management plane terminates administrative protocols and must be isolated, authenticated, encrypted, logged and recoverable.
Path: Networking → Security → HTTP / HTTPS Management. Local intent: HTTP / HTTPS Management: HTTPS Preferred over HTTP.
ReferenceHow it works3 sections · depth on demand
Technical Mechanics
HTTP exposes cleartext management traffic; HTTPS adds TLS transport and server identity validation. Certificates must match the management name and trusted chain. A self-signed certificate needs deliberate trust provisioning. TLS does not replace authorization or isolate the service from unwanted sources.
How it works
HTTPS management: status versus authentication configuration
Scope: IOS / IOS XE device web management when required; platform-supported dependent APIs need separate review. ip http authentication local changes authentication configuration. It is not a read-only status command and must not overwrite an existing AAA design as a diagnostic step.
Read show ip http server status and show ip http server secure status plus relevant source-policy, authentication and trustpoint configuration. Separate HTTP/HTTPS enablement, TCP reachability, certificate/TLS identity, user authentication and action authorization. Never share private key or credential material.
The existing scoped configuration example in this Topic remains a state-changing example. Reference: Cisco HTTP services command reference.
ReferenceImportant terms & boundaries5 sections · depth on demand
Official Sources
Key operational limits
- SSHv2 protects the session; VTY policy still controls who may connect and how users authenticate
- Use a dedicated management VRF/interface where supported and restrict sources with ACL/firewall policy
- Disable Telnet and unused HTTP services
- Prefer named administrators, AAA, least privilege, timeouts and audit logging
- Preserve an out-of-band recovery path before changing remote access.
Proof Boundaries
TLS success does not prove authorization, least privilege or RESTCONF function. REST API Security owns API security; Device Hardening owns overall exposure reduction.
In depth
Many devices offer a web interface for configuration and monitoring. Cisco's IOS hardening guide recommends HTTPS (ip http secure-server) instead of HTTP, and disabling both web servers (no ip http server, no ip http secure-server) when the web interface isn't used.
Options
| Situation | Configuration |
|---|---|
| Web UI not used | no ip http server, no ip http secure-server |
| Web UI used | no ip http server, ip http secure-server, plus access control |
| Feature needs the HTTP server (some automation or web authentication) | Restrict it to the required interfaces and sources |
R1(config)# no ip http server
R1(config)# ip http secure-server
R1(config)# ip http authentication aaa login-authentication MGMT-AAA
R1(config)# ip http access-class ipv4 MGMT-HOSTS
R1(config)# ip http max-connections 5
R1(config)# ip http timeout-policy idle 600 life 86400 requests 100
R1# show ip http server status | include server status|access class|Authentication
HTTP server status: Disabled
HTTP secure server status: Enabled
HTTP server authentication method: aaa
Risks of web management
| Risk | Mitigation |
|---|---|
| Web UI vulnerabilities are frequent targets | Patch quickly; never expose to the Internet |
| Clear-text HTTP logins | Disable HTTP |
| Shared accounts | AAA with individual accounts |
| Browser sessions left open | Timeouts |
Programmatic management over HTTPS
RESTCONF and other APIs also run over HTTPS. The same controls apply: TLS with valid certificates, AAA, access classes, and least-privilege accounts for automation.
Audit
Regularly scan management networks for open TCP 80 and 443 on infrastructure devices and compare with what's expected.
Documented example, not captured output.
Quick reference
HTTP/HTTPS management provides the web GUI and REST APIs (including RESTCONF) on IOS XE. Plain HTTP should be disabled; HTTPS needs a trusted certificate and restricted access.
no ip http server
ip http secure-server
ip http authentication aaa
ip http access-class ipv4 MGMT-ONLY
ip http secure-trustpoint WEB-TP
Documented example, not captured output.
If the web GUI and RESTCONF are not used, disable the HTTPS server too — web management interfaces have been the target of serious vulnerabilities.
ReferenceConfiguration & state1 section · depth on demand
Cisco Configuration
State-changing example, only when the HTTPS service is required and a protected local account already exists:
no ip http server
ip http authentication local
ip http secure-server
ip http access-class 10
Create the numbered source ACL first; Management ACL / VTY Protection explains the IPv4 example. Retain existing AAA design where present. Install/bind the platform-appropriate certificate trustpoint using release documentation. When neither web UI nor dependent API service is needed, no ip http secure-server disables HTTPS; check RESTCONF and other dependencies before doing so.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Security → HTTP / HTTPS Management. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%