pm7y / AzureEventGridSimulator

A simulator that provides endpoints to mimic the functionality of Azure Event Grid topics and subscribers and is compatible with the Azure.Messaging.EventGrid client library.
MIT License
82 stars 39 forks source link

A configuration option to disable SSL certificates validity check #153

Closed rmihael closed 1 year ago

rmihael commented 1 year ago

In our project, we run both AzureEventGridSimulator and Azurite through Docker Compose. We find anything related to trusted HTTPS to be very complicated in such an environment. It is much more convenient to just disable SSL validation for development purposes.

In this pull request, I added a single boolean configuration property DisableSslCertificatesValidation that just disables this check if set to true. The default value is false to preserve current behavior.

pm7y commented 1 year ago

Closing this PR. I've implemented something similar but called dangerousAcceptAnyServerCertificateValidator.