• Resolved alekv

    (@alekv)


    Hi

    Could you please disable SSL checks for wp_remote_post on local dev environments?

    The reason is, that in some local dev environments like mine, we use not verifiable SSL certificates.

    You could add this to the dispatch function in wppfm-async-request.php.

    
    if (isset($_SERVER['REMOTE_ADDR']) && $_SERVER['REMOTE_ADDR'] == '127.0.0.1') {
        $args['sslverify'] = false;
    }
    

    Full code example: https://gist.github.com/alewolf/7b51a4a35d5578ce65f1d8c50ea4cfbe

Viewing 1 replies (of 1 total)
  • Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Hi @alekv,

    Yes, that’s ok. I will add it in the code and it will be implemented in the next update which I expect to be released next week.

    Thanks for the code example!

Viewing 1 replies (of 1 total)
  • The topic ‘please disable SSL check for wp_remote_post on local dev environments’ is closed to new replies.