Additional flag for Send HTTP Request

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ednt
    Member
    • May 2022
    • 52

    #1

    Additional flag for Send HTTP Request

    Hi,

    for development we use a copy of our original EspoCRM.
    In this case the certificate does not fit the test url.
    All my Workflows and Flowcharts are not working anymore, because off the cert check.
    For this I 'extended' SendRequest.php:
    Code:
    use const CURLOPT_SSL_VERIFYPEER;
    use const CURLOPT_SSL_VERIFYHOST;
    And later
    Code:
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
    If this would be setable via the GUI, it would be a great help.
    Yesterday after update to 9.1.7 I had to overwrite the SendRequest.php again.

    Best regards
  • yuri
    Member
    • Mar 2014
    • 9106

    #2
    You can configure CURL globally. I'm not in favor of having the ability to disable SSL verification in the app.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    Working...