Skip to content

iso: use JSSE endpoint identification#744

Open
ar-agt wants to merge 1 commit into
mainfrom
jsse-endpoint-identification
Open

iso: use JSSE endpoint identification#744
ar-agt wants to merge 1 commit into
mainfrom
jsse-endpoint-identification

Conversation

@ar-agt

@ar-agt ar-agt commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Replaces the custom CN-only hostname verifier with JSSE HTTPS endpoint identification when server authentication is enabled.

The TLS peer host is the configured servername when present, otherwise the network host. This enables standard SAN, wildcard, and IP-address verification.

Includes a fresh JDK-generated wildcard-SAN integration certificate; the test connects to localhost while verifying gateway.visa.com against DNS:*.visa.com.

Tested with:
./gradlew :jpos:test --tests org.jpos.iso.SslChannelIntegrationTest --rerun-tasks --no-daemon

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