Skip to content

Verify hostname and issuer certificate by default. - #616

Merged
gsaluja9 merged 16 commits into
developfrom
specify_ca_cert
Sep 30, 2025
Merged

gsaluja9 merged 16 commits into
developfrom
specify_ca_cert

Conversation

@gsaluja9

@gsaluja9 gsaluja9 commented Sep 24, 2025 •

Copy link
Copy Markdown
Contributor

For addressing #533

Presently the hostname verification not enforced in the Connector.
This was an aid to ease deployment and local development.

This PR adds the hostname verification back into the Connector* .
This will obviously create an extra step to jump for setting up for local development.

The devcontainer introduced as a part of this PR provides a preconfigured environment using a issued certificate.
TODO:

  • Enable it in tests
  • Provide more info in setup local in docs (It uses self signed certificate) . PR
  • The one liner docker command would need to be changed to not use_ssl.
  • More docs to add transportation and use of custom CA would need to be created.
  • Key creation needs and versioning logic needs an update. Thanks @drewaogle for the update, and explanation.

Comment thread .devcontainer/docker-compose.yml Resolved
@gsaluja9 gsaluja9 mentioned this pull request Sep 26, 2025
@gsaluja9
gsaluja9 marked this pull request as ready for review September 26, 2025 18:41
Drew Ogle and others added 3 commits September 26, 2025 16:14
1. pem is now always supplied after the host
drewaogle
drewaogle previously approved these changes Sep 26, 2025

@drewaogle drewaogle left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@drewaogle

Copy link
Copy Markdown
Contributor

Let me reiterate that requiring certificates for all connections is not going to help security and will just make our application harder to use for people trying it out.

@drewaogle drewaogle left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@gsaluja9
gsaluja9 deleted the specify_ca_cert branch October 1, 2025 21:42
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.

2 participants