Error: Gmail cURL Error 77

Overview

The ‘Gmail cURL error 77: error setting certificate verify locations’ issue occurs when setting up an SMTP server with Gmail’s API. Although it relates to Gmail’s API, it often occurs due to issues from your site’s hosting server and not your SMTP plugin.

Causes

The Gmail cURL error 77 issue is often caused by the following:

  1. Outdated cURL library: Your server’s cURL library may be outdated, leading to compatibility issues with the SMTP plugin.
  2. Invalid or Missing SSL certificate: If your site’s SSL certificate is not properly configured, you’ll likely encounter this error.

Solution

To resolve this error, you’ll need to make sure your web hosting server is using the latest cURL library. The exact steps to update this library may differ depending on your hosting provider. We recommend contacting your web host to help you upgrade the cURL library.

If a missing or invalid SSL certificate causes this error, we suggest getting one for your domain. An SSL certificate improves your domain’s reputation. It also fixes other common errors like emails not sending properly on your site.

Note: If you need help setting up an SSL certificate for your website, be sure to check out WPBeginner’s tutorial.

That’s it! Now you know how to troubleshoot and fix the ‘Gmail cURL error 77’ issue.

Would you like to improve your site’s email deliverability? Consider configuring an additional connection to use as a backup mailer.

Try our Free WP Mail SMTP plugin

Use your favorite SMTP provider to reliably send your WordPress emails.

Please enable JavaScript in your browser to complete this form.