Visual RFC.
ALL RFCs / RFC 5425
Read the RFC ↗
RFC 5425 / Syslog over TLS

Authorize the peer

03

Authentication checks which peer holds a key. Authorization checks whether that peer is allowed here. A trusted issuer alone is not a list of authorized log servers.

RFC 5425 · § 5EXAMPLE
4 / 4
Authorize the peerA separate policy mismatch stops before syslog delivery. Valid certificate path alone does not authorize this receiver; abort handshake with appropriate TLS alert.Which peer is allowed here?Peer certificatePath validConfigured name does not matchTLS alert · abortNo syslog delivery to this peerAuthentication capability ≠ selected policy
04
Stop a policy mismatch

Separate failed example: a valid path with the wrong authorized name is insufficient. Abort the handshake with a TLS alert; do not forward a log to an unauthorized receiver.

Source for this drawing: RFC 5425 · Read RFC section 5 ↗

Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

A message needs an address.

Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

KEY POINT

A valid certificate must still satisfy the selected local policy; failure aborts the handshake.

  • Both endpoints MUST implement certification-path validation and end-entity certificate matching (§4.2.1). Path validation uses trust anchors and RFC 5280; exact certificate matching can use a self-signed certificate without a certification path. These are alternative validation methods, not consecutive checks required for every connection.
  • Implementations MUST support authorized-peer fingerprints (§5.1). §4.2.2 hashes the DER-encoded certificate (its canonical binary representation), displays colon-separated uppercase hexadecimal bytes, and prefixes the algorithm label. Both endpoints MUST expose their certificate fingerprint through management. The 2009 text requires SHA-1 support (MUST) with label sha-1. Its published example is 65 characters; this records historical configuration support, not advice to choose SHA-1 for a new security design.
  • For subject-name authorization (§5.2), implementations MUST support configured host names matched to dNSName in subjectAltName, SHOULD support common-name checking, and MUST support the stated certificate wildcard with an optional disable setting. A certificate *.example.com matches a.example.com but neither example.com nor a.b.example.com. Locally configured policy wildcards MAY be more flexible.
  • Internationalized configured names MUST be converted to ACE for comparison; IP address matching in iPAddress is MAY (§5.2). These examples use ASCII DNS names only. §6.2 warns against obtaining the authorization name through a DNS lookup instead of local configuration.
  • If the peer fails the selected security policy, the TLS handshake MUST be aborted with an appropriate TLS alert (§5). §§5.3–5.5 discuss one-sided or absent authentication; these policies are generally NOT RECOMMENDED because the corresponding masquerade threats remain. Properly authenticating and authorizing both peers is the RECOMMENDED default (§6.1).
  • Both endpoints MUST provide key-pair and self-signed-certificate generation when no other mechanism supplies them, and SHOULD offer recording of end-entity certificates for correlation (§4.2.1). Pin provisioning and renewal are local administration; a received unknown fingerprint is not automatically trusted.
DETAILS

Displayed fingerprint is an RFC example only; no certificate, real key, DNS query or PKI validation is performed.

Read the RFC section ↗

All chapters in RFC 5425

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗