WordPress.org

Ready to get started?Download WordPress

Forums

Contact-Form-7: 3rd-Party Integration
[resolved] SSL Certificate Problem Error (4 posts)

  1. derek.bess
    Member
    Posted 2 years ago #

    I keep getting this error in my debug email notification:

    *** Response ***
    WP_Error Object
    (
        [errors] => Array
            (
                [http_request_failed] => Array
                    (
                        [0] => SSL certificate problem, verify that the CA cert is OK. Details:
    error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
                    )
    
            )
    
        [error_data] => Array
            (
            )
    
    )

    Any idea as to why this is? I'm trying to integrate with salesforce if that is of any help.

    http://wordpress.org/extend/plugins/contact-form-7-3rd-party-integration/

  2. derek.bess
    Member
    Posted 2 years ago #

    I kinda created a work around for this by making a custom plugin and dumping this code in there.

    <?php
    add_filter('https_ssl_verify', '__return_false');
    add_filter('https_local_ssl_verify', '__return_false');
    ?>
  3. zaus
    Member
    Plugin Author

    Posted 1 year ago #

    The error is coming back from the WP function wp_remote_post; I don't think it's anything from the plugin. It sounds like the problem is with the 3rdparty endpoint -- it's either got a bad SSL certificate, or WP has problems understanding it. Did you try it with http instead of https before disabling verification?

    Your workaround makes sense, but without more research I can't say whether that's totally safe or not.

  4. zaus
    Member
    Plugin Author

    Posted 1 year ago #

    Closing due to inactivity, and it sounds like it's kinda resolved anyway...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags