# Disabling SSL certification for development?

**URL:** <https://forum.mautic.org/t/disabling-ssl-certification-for-development/34083>\
**Category:** Development\
**Created:** [November 11, 2024, 12:33pm UTC](https://forum.mautic.org/t/disabling-ssl-certification-for-development/34083 "2024-11-11T12:33:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![markusvjh](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@markusvjh](https://forum.mautic.org/u/markusvjh)\
**Post date:** [November 11, 2024, 12:33pm UTC](https://forum.mautic.org/t/disabling-ssl-certification-for-development/34083/1 "2024-11-11T12:33:15Z")

</div>

**Your software**  
My Mautic version is: 5.1.1  
My PHP version is: 8.1.29  
My Database type and version is: 10.11.9-MariaDB

**Your problem**  
My problem is:

I am developing a Drupal module that involves webhook sending on segment changes. My problem is that whenever the segment change is automated (like with segment filters) I get SSL cert errors. For development I want to turn SSL cert verification off.

 ![Screenshot 2024-11-08 at 9.25.09](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/6/6ba832153e79c110af392d659ff167e506637246.png)

I have successfully set the SSL verify to false when the segment changes are manual. For example in services.php in the CoreBundle and Client.php in webhookbundle:

 ![Screenshot 2024-11-11 at 14.24.31](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/a/affd947f8065a5468d0e00ed42eb3e01a454dce8.png)

 ![Screenshot 2024-11-11 at 14.26.30](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/2/28ea93dca14a27a50bbc27c7273fd6220a8bd4cc.png)

But when the segment change is automated with logic (anything else than manually changing segments in the contacts UI) I still get the SSL certificate errors.

Does anyone have an idea where I could set the SSL cert check to be false for automated segment change webhooks as well?
