Course contents

Unit 9: Monitoring and troubleshootingLesson 9.3 (3 of 5 in this unit)55 of 62 in the Cisco SD-WAN course

Control connection and certificate diagnostics

A fixed method for a control connection that will not come up: read the state and error code, then check path, identity and certificates.

Advanced · 14 min read

You'll learn to read the state and error code of a failed control connection and work through reachability, identity and certificate checks in a fixed order.

Technical definition

Control connection diagnostics is the method of finding why a WAN Edge cannot keep a DTLS or TLS control connection to the Controller, Validator or Manager. A control connection needs a path, a matching identity and certificates that both sides accept, and a clock that makes those certificates valid. Failure in any of the three shows up as a state and an error code.

Three questions behind every failure

A control connection is a secure session, and it needs three things. The router has to reach the peer over the transport, so there must be a route, an allowed port and working DNS if a name is used. The router and peer must agree on who they are: organisation name, system IP and site ID, and on the router's authorisation in the Manager. And the certificates must be valid and trusted by both sides. Each class of failure has its own symptom, so read the state and error before changing anything.

Diagram
Where a control connection fails
Where a control connection fails

Path, identity or trust.

Control connection will not come up
  • Pathroute, port,NAT, DNS
  • Identityorg name,serial, site ID
  • Trustcertificate,root CA, clock
Pick the group from the state and error, then work in it.

Read the state first

The state column tells how far the handshake got. A state that stays at connect means the router is trying and nothing answers, which points to the path or the Validator address. A state that moves on to challenge or handshake and then falls back means the peer answered and then refused, which points to identity or certificates.

Diagram
Two shapes of failure
Two shapes of failure

Two shapes of failure. A state that stays in connect means nothing answered, so the path is the first group to check. A state that moves on and then falls back means the peer answered and then refused, so identity and certificates come first.

Stays in connectNo answer from the peerCheck route, firewall, NATDNS, Validator address
Moves on, then falls backPeer answered, then refusedCheck certificates, serialand organisation name
The state shows how far the handshake got, which decides the group to check first.
Diagram
States and what they usually mean
States and what they usually mean
State seenHow far it gotLook first at
connect (stays)No answer from the peerRoute, firewall, NAT, DNS, Validator address
challenge or handshake (then drops)Peer replied, then refusedCertificates, serial authorisation, organisation name
tear_down (repeating)Connection made and closedError code in connection history
upEstablishedNothing to fix here
State names depend on the release. The idea of how far the handshake got is the useful part.

The connection history

Example output written for this lesson, simplified; real output has more fields and a different layout
BR-01#show sdwan control connection-history
PEER TYPE  PEER SYSTEM IP  LOCAL COLOR   STATE      LOCAL ERROR  REMOTE ERROR  REPEAT
vbond      -              biz-internet  connect    DCONFAIL     NOERR         12
vsmart     10.255.0.11    biz-internet  tear_down  CRTREJSER    NOERR         3
vmanage    10.255.0.10    biz-internet  tear_down  ORGNMMIS     NOERR         3
The Validator line shows DCONFAIL, a DTLS connection failure with no answer: look at the path first. The Controller line shows CRTREJSER, a rejected challenge response, which usually means the certificate or serial number was not accepted: look at authorisation. The Manager line shows ORGNMMIS, an organisation name mismatch. The columns, codes and layout depend on the release; check the list for your version.
Diagram
Three lines, three codes
Three lines, three codes

The history for BR-01 has three lines. The Validator line shows DCONFAIL, which points at the path. The Controller line shows CRTREJSER, which points at serial authorisation or the certificate. The Manager line shows ORGNMMIS, which points at the organisation name.

BR-01 connection history
  • DCONFAILValidator lineno answer, check path
  • CRTREJSERController lineserial or certificate
  • ORGNMMISManager lineorganisation name
Different codes on different lines point at different groups, so each line is read on its own.
Diagram
Common error codes
Common error codes
CodeMeaning in plain wordsFix
DCONFAILDTLS connection failed; no usable answerCheck route, firewall, NAT and the Validator address
CRTREJSERThe peer rejected the challenge response, usually a certificate or serial problemAuthorise the serial in the Manager and check that both sides trust the certificate chain
CRTVERFLCertificate verification failedCheck root CA chain, validity dates and clock
SERNTPRESSerial number not present in the authorised listAdd or sync the device list
ORGNMMISOrganisation name does not matchCopy the name exactly from the Manager
DISTLOCThe TLOC is disabled or not allowed to connectCheck tunnel interface and allowed services
Codes are from Cisco's documentation for control connection failures. The list is not complete, and details vary by release.

The order of checks

Diagram
Fixed order
Fixed order

Path, then identity, then trust.

  1. Pathping the Validator
  2. Clockis time right?
  3. Identityorg, site, system IP
  4. Authoriseserial in Manager
  5. Certificatesroot and device
Each step takes seconds and removes a whole group of causes.
Diagram
A check and a command for each
A check and a command for each

What to run at each step.

  1. Path to the Validatorping <validator> source <WAN interface>show ip route, and DNS if a name is used
  2. Clockshow clockCompare with the certificate dates
  3. Identity valuesshow sdwan control local-propertiesSystem IP, site ID, organisation name
  4. AuthorisationManager device list: is the serial valid?Hardware serial or virtual chassis number
  5. Certificatesshow sdwan certificate serialRoot CA installed? Device certificate present?
If the check passes, move to the next. If it fails, fix it before moving on.
  • Change one thing at a time, then wait for the next connection attempt before judging the result.
  • Clear the repeat counter or note it, so you can tell if a new attempt really changed the error.
  • If both the router and the controllers show errors, work from the router: its view of the path is the one that matters.
  • A fresh bootstrap token or chassis number is a fix for an expired token, not for a path or clock fault.

Learn more: PKI, Root CA, Certificates and AuthorizationNAT Traversal, DNS and Firewall

Worked case: BR-02 after a long weekend

The lab branch BR-02 was powered off from Friday evening to Monday morning. After it starts, it connects to no controller. A ping from the WAN interface to the Validator at 10.255.0.12 works, so the path is fine, and nobody has changed the Manager. The connection history is the place to start.

Example output written for this lesson, simplified; real output has more fields and a different layout
BR-02#show sdwan control connection-history
PEER TYPE  PEER SYSTEM IP  LOCAL COLOR   STATE      LOCAL ERROR  REMOTE ERROR  REPEAT
vbond      -              biz-internet  tear_down  CRTVERFL     NOERR         5
vsmart     10.255.0.11    biz-internet  tear_down  CRTVERFL     NOERR         5
vmanage    10.255.0.10    biz-internet  tear_down  CRTVERFL     NOERR         5
All three peers show the same local error, CRTVERFL, with the same repeat count. A code shared by every peer points at something the router carries into each connection, not at one peer.
Example output written for this lesson, simplified; real output has more fields and a different layout
BR-02#show clock
*00:12:41.208 UTC Mon Jan 1 2024
The asterisk in front of the time means the router has no trusted time source. The date is 1 January 2024.

The device certificate in this example is valid from 10 February 2026 to 10 February 2027. Those dates are assumed for the lesson. Check the clock against the window before anything else.

Diagram
The clock against the certificate window (computed)
The clock against the certificate window (computed)
Router clockAgainst 10 Feb 2026 to 10 Feb 2027Result
1 Jan 2024, after the restart771 days before the startRejected as not yet valid
7 Nov 2026, the correct dateInside the window, 95 days leftAccepted
11 Feb 2027, for comparison1 day after the endRejected as expired
Day counts come from a script. The check is on dates, so a clock that is wrong in either direction breaks verification.

A slightly wrong clock may still pass verification. How much error is tolerated depends on where the correct date sits inside the window, and on the fast side that margin shrinks by a day every day until the certificate expires.

Diagram
How far the clock can be wrong (computed)
How far the clock can be wrong (computed)
Clock errorRouter dateResult
100 days slow30 Jul 2026Inside the window, 170 days after the start
270 days slow10 Feb 2026First day of the window; the time of day decides
300 days slow11 Jan 2026Rejected as not yet valid, 30 days before the start
60 days fast6 Jan 2027Inside the window, 35 days left
95 days fast10 Feb 2027Last day of the window; the time of day decides
120 days fast7 Mar 2027Rejected as expired, 25 days after the end
The correct date is taken as 7 November 2026 with the assumed window. A slow clock has about 270 days of room and a fast clock only 95. Day counts come from a script.
Diagram
Evidence from BR-02
Evidence from BR-02

No controller connects after the restart, although the Validator answers a ping. Every peer shows the same error code. The clock is marked untrusted and is far in the past. The certificates are outside their window from the router's point of view, so the fix is a time source.

  1. SymptomNo controller connects after restartping to the Validator works
  2. PatternAll three peers show CRTVERFLsame repeat count
  3. Clockshow clock starts with an asteriskthe date is 771 days early
  4. CauseCertificates are outside their windowas the router sees it
  5. FixGive the router a time sourcethen wait for the next attempt
The shared error code and the asterisk point at the clock before anything is changed on a controller.

The repair is a time source. Point the router at an NTP server in its device template, or set the clock by hand in a lab if the platform allows it. Then wait for the next connection attempt rather than judging the result at once.

Example output written for this lesson, simplified; real output has more fields and a different layout
BR-02#show sdwan control connections
PEER TYPE  PEER SYSTEM IP  LOCAL COLOR   STATE  UPTIME
vsmart     10.255.0.11    biz-internet  up     0:00:02:11
vmanage    10.255.0.10    biz-internet  up     0:00:02:09
After the clock is correct. The Validator line is gone because it only introduces the router and then closes. The columns are simplified.
Diagram
Which lines fail points at where to look
Which lines fail points at where to look
What failsLook first atWhy
Only a Validator line, stuck in connectPath and the Validator addressThe router has not learned where the controllers are
The Controller or Manager line onlyThat peer's reachability and authorisationThe Validator step worked
Every line, same codeThe router's clock, certificate or organisation nameEach peer checks the same thing
One router out of manyThat router's identity and authorisationThe other routers show the controllers are fine
Rules of thumb for a first guess. The error code decides.

Test yourself

Predict · scenario 1

The Validator line stays in connect with DCONFAIL and a repeat count that keeps rising. What do you check first?

Predict · scenario 2

The router connects, then CRTREJSER appears. Which action fits?

Predict · scenario 3

A lab router's clock shows a date two years in the past. What is the most likely effect?

Predict · scenario 4

Every line in the connection history shows CRTVERFL with the same repeat count, and a ping to the Validator works. What do you check first?

Predict · scenario 5

show clock prints a time that starts with an asterisk and a date years in the past. What does the asterisk tell you?

Predict · scenario 6

One branch shows ORGNMMIS while the other 20 branches are up. What is the likely cause?

Predict · scenario 7

The lesson takes 7 November 2026 as the correct date, with a certificate valid from 10 February 2026 to 10 February 2027. A router's clock runs 120 days fast. What does the router do with the certificate?

Predict · scenario 8

Which observation points at the router itself, and not at one controller?

Predict · scenario 9

The clock on BR-02 has been corrected after CRTVERFL on every line. What is the next step?

FAQ

Why do I see the Validator connection come and go?
The Validator only introduces a new router to the Controller and Manager, so its connection is normally short-lived. A Validator line stuck in connect, or repeating, points to a problem reaching it or being accepted by it.
What do the short error codes mean?
They are short names for the reason a peer closed or refused a connection, such as a certificate that failed verification or a serial number that was not authorised. Cisco publishes a list for each release. A few common ones are in this lesson.
If every peer shows the same error code, where is the fault?
Usually in something the router carries into every connection: its clock, its own certificate or its organisation name. A fault in one peer shows on that peer's line only.
Can a wrong clock really break control connections?
Yes. Certificates have start and end dates. A router or controller whose clock is outside that window rejects the certificate even when everything else is correct. Fix time before chasing anything else.