Skip to content

Conversation

hotfix31
Copy link

@hotfix31 hotfix31 commented Oct 8, 2025

Q A
Branch? main
Tickets Closes #4059
License MIT
Doc PR api-platform/docs#2218

This PR adds SSL configuration options for Elasticsearch to allow custom SSL certificate verification and the ability to disable SSL verification.

Adds two new configuration options under api_platform.elasticsearch:

  1. ssl_ca_bundle (string, nullable): Path to a custom SSL Certificate Authority (CA) bundle file
  2. ssl_verification (boolean, defaults to true): Enable or disable SSL verification

Question for maintainers: What would be the best approach to add Laravel support for these Elasticsearch SSL options? Add similar configuration options to src/Laravel/config/api-platform.php ?

I'd appreciate guidance on the preferred approach to ensure consistency across both Symfony and Laravel implementations. Happy to implement Laravel support if someone can point me in the right direction! 🙏

@hotfix31 hotfix31 force-pushed the feature/add-ssl-options-elasticsearch branch from 23ec913 to efb870a Compare October 8, 2025 21:18
@hotfix31 hotfix31 force-pushed the feature/add-ssl-options-elasticsearch branch from efb870a to e155b89 Compare October 14, 2025 07:14
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.

More options for elasticsearch config

1 participant