Chris Schutte

Dec 21, 2022

How To Fix Secure Connection Error in WordPress

Reading Time: 4 minutes

You know how frustrating it can be when you see “secure connection error” on WordPress. This error can prevent you from accessing your website’s backend, making it difficult to update content or install plugins.

Luckily, you can take a few simple steps to fix this error and get your website back up and running. This blog post will walk you through how to troubleshoot and fix the secure connection error in WordPress.

What Causes This Problem?

Before diving into the solutions, let’s first look at what causes this problem. The “secure connection error” message usually appears when you wrongly configure your website’s SSL.

An SSL certificate creates a secure connection between your website and visitors’ browsers. This certificate ensures that all data exchanged between your website and visitors are encrypted and intercept-free by third parties.

If you did not configure your SSL correctly, WordPress will display the “secure connection error” message in the admin area. In some cases, you may also see this error on the front end of your website.

Fixing the Secure Connection Error

Now that we know what causes this problem let’s look at how to fix it.

Wait It Out

If you just installed an SSL certificate on your website, it can take up to 24 hours for the certificate to propagate across the internet.

So, if you see the secure connection error message shortly after installing an SSL certificate, try waiting a few hours and then reloading your website’s admin area.

Check Your Website’s DNS Settings

Another common cause of the secure connection error is incorrect DNS settings. When you install an SSL certificate on your website, you must ensure that your website’s DNS settings are updated to point to the new SSL-enabled URL.

  1. To check your website’s DNS settings, log in to your domain registrar’s account and navigate the DNS management page.
  2. From here, you’ll be able to view and update your website’s DNS records.

If you’re not sure how to update your DNS settings, contact your domain registrar’s customer support team and they’ll be able to help you out.

Update Your Server’s Hosts Files

Sometimes, incorrect entries in the server host file cause the secure connection error. The host file is used to map hostnames to IP addresses and is located on every computer connected to the internet.

  1. To check if there are any incorrect entries in your server’s host file, you’ll need to access your website via FTP or SSH.
  2. After logging in, navigate to the following directory: /etc/hosts.
  3. Next, open the host file in a text editor and look for any lines that contain your website’s URL.
  4. If you see any lines that don’t start with “127.0.0.1” followed by your website’s URL, delete them and save the changes to the file.

Once you’ve updated your server’s host file, try reaccessing your website’s admin area.

Enable cURL for PHP

Another common cause of the secure connection error is that the cURL extension for PHP is not enabled. cURL is a library that allows website applications to communicate with other applications over the internet.

WordPress uses cURL to connect to remote servers when updating plugins and themes, checking for new versions of WordPress, and more.

If the cURL extension is not enabled, WordPress will not be able to connect to these remote servers, which can trigger the secure connection error.

You’ll need to edit your website’s php.ini file to fix this problem. This file contains all the configuration settings for your website’s PHP installation.

  1. To edit the php.ini file, you’ll need to use an FTP client or your hosting provider’s file manager. Once you’ve logged into your website, navigate to the /wp-content/ directory and edit the php.ini file.
  2. Find the line that says “;extension=php_curl.dll” and remove the semicolon from the beginning of the line. This will uncomment the line and enable the cURL extension.
  3. Once you’ve saved the file, reload your website’s admin area. The secure connection error should now be fixed.

Disable Flexible SSL

If you’re using the WordPress HTTPS (SSL) plugin, you may need to disable the “Flexible SSL” setting to fix the secure connection error. This setting is designed for websites that don’t have an SSL certificate installed and can cause problems if your website does have an SSL certificate.

  1. To disable Flexible SSL, log in to your WordPress site’s admin area and navigate to Settings and then find WordPress HTTPS.
  2. From here, scroll down to the “SSL Mode” section and make sure the “Flexible” option is disabled.

Check Your LocalHost

If you’re still getting the “Secure Connection Error” on your WordPress website, it’s likely because your computer’s firewall is blocking outgoing connections from your local server to WordPress.org.

  1. To fix this, open your firewall settings (on Windows, you can do this by pressing the Start button and searching for “Windows Firewall.”)
  2. On Mac, you can find firewall settings in System Preferences, Security & Privacy, and add an exception for your local server.
  3. Once you’ve done that, try reaccessing your WordPress website — the error should now be gone.

Maintain Your Website With Launch Digital

If you’re ever unfortunate enough to encounter the “secure connection error,” don’t worry. It’s easy to fix. Just follow these simple steps and you should be back on your website in no time.

And if you need help, our team at Launch Digital is more than happy to assist. We provide website maintenance care plans for businesses in Johannesburg, South Africa to keep your WordPress site running so you can focus on your business matters.

Contact us today to learn more about our services and how we can help take your online presence to the next level.

wordpress care plan support

You might also like…

How to Boost Your Marketing Efforts & Results With ChatGPT

How to Boost Your Marketing Efforts & Results With ChatGPT

Table of Contents What is ChatGPT anyway? Why should you care? How you can use ChatGPT to boost your marketing efforts Writing Research Strategy Coding Tips to get better ChatGPT responses Give Context Be Specific Provide Examples Expected Output Will AI replace the...

11 Ways To Drive Traffic to Your Website

11 Ways To Drive Traffic to Your Website

South Africa’s population is over 61 million, with about 67.6% living in urban areas. The country has many smart, economically viable cities where businesses can thrive. Johannesburg, for example, is the country’s biggest city and the chief industrial and financial metropolis. Many industries grow and flourish here, meaning businesses should be at par with the latest marketing trends.

Choosing a Web Design Agency That’s Right for You

Choosing a Web Design Agency That’s Right for You

When looking at your website for your business in Johannesburg, you might think it’s enough to let people know about your products and services. After all, that’s what a website is for, right?

Wrong. A website is much more than just an online brochure. It’s a powerful marketing tool that can help you attract new customers and grow your business.

If your website is a marketing tool, it means its job is to reach as many potential customers as possible and convince them to trust you. Website design is one of the key factors that can affect your website’s Google rankings. It might sound perplexing, but you’re about to understand why. Learn how far your website design in Johannesburg can go!

How Launch can help you grow your business.

N

Experts in lead generation

N

Dedicated team of designers, developers and strategists

N

Constant communication

N

Simple but powerful reporting

Or call us on 060 732 7891

× Contact us on WhatsApp