Skip to content

Use TLS 1.3 with a self-signed certificate without authentication - #510

Open
xnox wants to merge 1 commit into
zeek:masterfrom
xnox:topic/xnox/anon-tls13-self-signed
Open

xnox wants to merge 1 commit into
zeek:masterfrom
xnox:topic/xnox/anon-tls13-self-signed

Conversation

@xnox

@xnox xnox commented Oct 15, 2026

Copy link
Copy Markdown

Without configured certificates, use TLS 1.3 with an unverified self-signed certificate instead of only anonymous TLS 1.2; alternative to #509.

(This was AI-generated; remainder to be filled in by user)

🤖 Generated with Claude Code

TLS 1.3 has no anonymous mode. Without configured certificates, Broker
now generates a self-signed P-384 ECDSA certificate that peers do not
verify, enabling TLS 1.3 for incoming connections. Older peers keep
working: they connect via TLS 1.3 as well, and connecting to them falls
back to anonymous TLS 1.2.

Failing to set the anonymous TLS 1.2 cipher is no longer fatal, since
some OpenSSL builds lack it.

Drop the cleanup calls in deinit_ssl_api for OpenSSL 1.1.0 and newer.
They are no-ops there and do not exist when OpenSSL is built without
deprecated APIs.

AI-assisted: written with Claude Code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@xnox
xnox force-pushed the topic/xnox/anon-tls13-self-signed branch from 6ed44a5 to 04a3186 Compare October 15, 2026 03:11

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant