Paypal issue
This topic contains 43 replies, has 4 voices, and was last updated by Paolo 8 years, 10 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: paypal
-
AuthorPosts
-
January 5, 2016 at 4:55 pm #66706
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
January 6, 2016 at 12:49 am #66795Hi Stiofan.
What steps did you perform to generate that error? May I please ask
Thanks
January 6, 2016 at 1:02 am #66796We would like to know so we can forward to support team
January 6, 2016 at 4:26 pm #67158Tell 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
January 7, 2016 at 1:51 am #67249Here’s their reply. Your thoughts? http://prntscr.com/9n0eqy
January 7, 2016 at 4:39 pm #67307Hi,
$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
January 8, 2016 at 12:44 am #67385Thank you for the very detailed response Paolo.!
January 8, 2016 at 3:24 am #67394I 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 SupportOnly Domains
http://www.onlydomains.comTicket Details
Your thoughts, guys?
Thanks again
January 8, 2016 at 11:13 am #67439Looks 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
January 8, 2016 at 12:06 pm #67445This reply has been marked as private.January 10, 2016 at 11:55 pm #67745No problem Guust I’ll do it now
January 10, 2016 at 11:56 pm #67746Thanks Stiofan I’ll test it now
January 11, 2016 at 12:43 am #67751Hi Stiofan,
All is working now! thanks very much
January 11, 2016 at 7:30 pm #67900Thanks for letting us know 🙂
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket