Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

RESTCONF over HTTPS

Direct answer

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.

When to use this

Use this when RESTCONF needs secure HTTPS access.

First 30 seconds

1. RESTCONF requires HTTPS.

2. Use trusted certificates on devices.

3. Don't disable verification in production.

4. Restrict access with ACLs.

5. AAA for authorisation.

Operational verification

client → TLS → RESTCONF server

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
RESTCONF / YANG HTTP automation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformRESTCONF / YANG HTTP automation · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when RESTCONF needs secure HTTPS access.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • Using -k permanently instead of trusting the device certificate.
  • Leaving ip http server (plain HTTP) enabled.
Evidence references

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.

observation · 1
Key checks
  • openssl s_client -connect <dev>:443 </dev/null — device certificate
  • Trusted CA for device certs — validation
  • HTTPS only (no HTTP) — security
ReferenceWhy it matters1 section · depth on demand

What it is

RESTCONF runs over HTTPS; the device needs an HTTP server with TLS and AAA. On IOS XE: restconf and ip http secure-server.

ReferenceImportant terms & boundaries2 sections · depth on demand

How it works

RESTCONF requires HTTPS; the device's HTTP server terminates TLS with its trustpoint certificate and passes authenticated requests to the RESTCONF service. Clients should trust that certificate (or the issuing CA) instead of disabling verification.

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
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docRESTCONF / YANG HTTP automation current

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%
Confirmation

Confirm action

Continue?