SSL Certificate Errors

Some websites have reported seeing the following error while making requests to Vimeo using our plugin:

"the request to Vimeo failed. Unable to complete request.[SSL certificate problem: unable to get local issuer certificate]"

To resolve, try adding this code snippet to your WP theme's functions.php file or by using a plugin like Code Snippets and see if it helps with the issue.

add_filter('vimeography.request.curl_defaults', function($opts) {
  $opts[CURLOPT_CAINFO] = WP_PLUGIN_DIR . 'vimeography/vendor/vimeo/vimeo-api/certificates/vimeo-api.pem';
  return $opts;
});

Still need help? Contact Us Contact Us