I can solve this problem by adding the below code in the functions.php of my theme folder.
add_action('http_request_args', 'jkudish_http_request_args', 10, 2);
function jkudish_http_request_args($args, $url) {
$args['sslverify'] = false;
return $args;
}
I hope this can help someone :)
source
share