Skip to content

Refactor TLS Remote (Peer) Certification Verification for ECDH Demo #200

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

bit-bender
Copy link
Contributor

In pull request #189, the kmyth ECDH demonstration code was changed to require a specific format for the name used in server certificate verification (i.e., network host name or IP address concatenated, using '.' as the separator, with a unique name to indicate functionality). This was done to address issues with implementing all of the ECDH demo nodes on the same network host (i.e., localhost).

This pull request attempts to propose a better approach. Instead of parsing the network (connection) host name and the certificate verification criteria from a custom format, it provides options for the user to directly specify the network host name/IP and, optionally, a separate Subject Alternative Name (SAN) criteria to be used in name verification for the remote (peer) certificate. This is hopefully simpler, less confusing, and more generic than the current approach.

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