Paypal issue

This topic contains 43 replies, has 4 voices, and was last updated by  Paolo 8 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #66706

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello, this is the error being returned, please pass it on to your server admin: “SSL certificate problem: unable to get local issuer certificate”

    Thanks,

    Stiofan

    #66795

    netbrasil
    Expired Member
    Post count: 133

    Hi Stiofan.

    What steps did you perform to generate that error? May I please ask

    Thanks

    #66796

    netbrasil
    Expired Member
    Post count: 133

    We would like to know so we can forward to support team

    #67158

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Tell them they can use this as some test code, i would just paste it in your theme 404.php page after the

    $options = array();
        $options['method'] = 'GET';
        $url = 'https://scontent-lhr3-1.xx.fbcdn.net/hphotos-xtf1/v/t1.0-9/580344_1100023650021802_7143324500718165215_n.jpg?oh=1bc13fede3783b5ce1855fb72c596099&oe=5718E8E7';
        $response = wp_safe_remote_request( $url, $options );
     
        if ( is_wp_error( $response ) ){
            echo $return->get_error_message();
        }else{
            echo 'All Good';
        }

    Thanks,

    Stiofan

    #67249

    netbrasil
    Expired Member
    Post count: 133

    Here’s their reply. Your thoughts? http://prntscr.com/9n0eqy

    #67307

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    
    
    $options = array();
    $options['method'] = 'GET';
    $url = 'https://scontent-lhr3-1.xx.fbcdn.net/hphotos-xtf1/v/t1.0-9/580344_1100023650021802_7143324500718165215_n.jpg?oh=1bc13fede3783b5ce1855fb72c596099&oe=5718E8E7';
    $response = wp_safe_remote_request( $url, $options );
    if ( is_wp_error( $response ) ){
    echo $return->get_error_message();
    }else{
    echo 'All Good';
    }

    This code is very simple and uses 2 wp functions.
    wp_safe_remote_request()
    is_wp_error()

    We are using the 1st to grab a facebook image from your website: https://scontent-lhr3-1.xx.fbcdn.net/hphotos-xtf1/v/t1.0-9/580344_1100023650021802_7143324500718165215_n.jpg?oh=1bc13fede3783b5ce1855fb72c596099&oe=5718E8E7 and the second to check if this operation is returning an error or not.

    If I paste the code provided by Stiofan on our website, where the “local issuer certificate” can be located on the server and I load the page including that code I get :

    All Good“.

    on your server we get:

    SSL certificate problem: unable to get local issuer certificate“.

    Rather obviously this applies to the system sending the request (your server) and not the server receiving the request (facebook)

    Most of the time this is due to a missing root CA (Certificate Authority) required for local verification.

    If you google the error, you will see that 100% of times, it is a server problem: https://www.google.com/search?q=SSL+certificate+problem:+unable+to+get+local+issuer+certificate

    My 1st suggestion would be to change server provider. 🙂

    If you can’t go with the 1st for any reason, my 2nd suggestion would be to make them accept this is a server configuration problem related to the ssl certificate, not an application problem and kindly ask them to fix it.

    Thanks

    #67385

    netbrasil
    Expired Member
    Post count: 133

    Thank you for the very detailed response Paolo.!

    #67394

    netbrasil
    Expired Member
    Post count: 133

    I raised the reply Paolo made and see their response here

    Hello Tony,

    Thank you for your patience.

    Our system admin created a test page with this code and it’s working fine. Can you supply a full example?
    Also, you could use http:// instead of https://

    Here’s the test page I created located at: https://netbrasil.com.au/test.php

    CODE:
    <?php

    /** Include the bootstrap for setting up WordPress environment */
    include( dirname( __FILE__ ) . ‘/wp-load.php’ );

    $options = array();
    $options[‘method’] = ‘GET’;
    $url = ‘https://scontent-lhr3-1.xx.fbcdn.net/hphotos-xtf1/v/t1.0-9/580344_1100023650021802_7143324500718165215_n.jpg?oh=1bc13fede3783b5ce1855fb72c596099&oe=5718E8E7’;
    $response = wp_safe_remote_request( $url, $options );
    if ( is_wp_error( $response ) ){
    echo $return->get_error_message();
    }else{
    echo ‘All Good’;
    }

    ?>

    Thank you for using our service, if any further enquiry or assistance needed, please feel free to ask and we are happy to assist you.

    Regards,

    Eddie Wu
    Customer Support

    Only Domains
    http://www.onlydomains.com

    Ticket Details

    Your thoughts, guys?

    Thanks again

    #67439

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Looks like this was a core WP bug and it was fixed in the latest ver so it’s working now.

    https://wordpress.org/news/2016/01/wordpress-4-4-1-security-and-maintenance-release/

    Some sites with older versions of OpenSSL installed were unable to communicate with other services provided through some plugins.

    I’ll mark this as resolved, let us knwo if you have any more problems.

    Thanks,

    Stiofan

    #67445

    Guust
    Moderator
    Post count: 29970
    This reply has been marked as private.
    #67745

    netbrasil
    Expired Member
    Post count: 133

    No problem Guust I’ll do it now

    #67746

    netbrasil
    Expired Member
    Post count: 133

    Thanks Stiofan I’ll test it now

    #67751

    netbrasil
    Expired Member
    Post count: 133

    Hi Stiofan,

    All is working now! thanks very much

    #67900

    Paolo
    Site Admin
    Post count: 31206

    Thanks for letting us know 🙂

Viewing 14 posts - 31 through 44 (of 44 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount