Skip to content

feat(Elasticsearch): Return HTTP connection string if security is disabled#1494

Merged
HofmeisterAn merged 1 commit intodevelopfrom
feature/get-https-connection-string-if-ssl-disabled
Jul 26, 2025
Merged

feat(Elasticsearch): Return HTTP connection string if security is disabled#1494
HofmeisterAn merged 1 commit intodevelopfrom
feature/get-https-connection-string-if-ssl-disabled

Conversation

@HofmeisterAn
Copy link
Collaborator

What does this PR do?

This PR updates the ElasticsearchContainer to take security configurations into account. If HTTPS (security) is disabled, the connection string method will now return an HTTP connection string instead of HTTPS. This change allows for more OOB configurations to be supported.

Nonetheless, it's still recommended to extract the certificate and set up proper certificate validation, rather than disabling security.

Why is it important?

Support HTTP configuration OOB.

Related issues

@HofmeisterAn HofmeisterAn added the enhancement New feature or request label Jul 26, 2025
@netlify
Copy link

netlify bot commented Jul 26, 2025

Deploy Preview for testcontainers-dotnet ready!

Name Link
🔨 Latest commit 449729a
🔍 Latest deploy log https://app.netlify.com/projects/testcontainers-dotnet/deploys/6884ac1b3b38c100076057e3
😎 Deploy Preview https://deploy-preview-1494--testcontainers-dotnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@HofmeisterAn HofmeisterAn merged commit a253f4b into develop Jul 26, 2025
142 of 202 checks passed
@HofmeisterAn HofmeisterAn deleted the feature/get-https-connection-string-if-ssl-disabled branch July 26, 2025 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhancement]: Allow setting up ElasticsearchContainer with HTTP

1 participant