RESTCONF over HTTPS
RESTCONF runs over HTTPS, using TLS and normally HTTP basic or token authentication. Devices need a valid certificate and the HTTPS server enabled, such as ip http secure-server on IOS XE.
client → TLS → RESTCONF server
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
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 Common mistakes Narrow the fault
- Using
-kpermanently instead of trusting the device certificate. - Leaving
ip http server(plain HTTP) enabled.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- RESTCONF runs over HTTPS.
- Device needs a valid certificate.
- ip http secure-server on IOS XE.
ReferenceImportant terms & boundaries2 sections · depth on demand
How it works
Example
curl -k -u admin:pass -H 'Accept: application/yang-data+json' https://r1/restconf/data/ietf-interfaces:interfaces
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 RESTCONF > HTTPS. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc8040 · confidence 94%