
If you’ve ever visited your Apache-hosted WordPress site and encountered the dreaded “Not Trusted Certificate” warning, you’re not alone. This common issue discourages visitors from accessing your site and tarnishes your online reputation. Fortunately, understanding the cause of this warning and learning how to fix it is easier than you think.
In this blog post, we’ll dive into the reasons behind the “Not Trusted Certificate” warning, how it affects your WordPress site, and a step-by-step guide to resolving it.
Let’s start with the basics.
What Is an SSL Certificate, and Why Do You Need It?
SSL (Secure Sockets Layer) certificates are essential for encrypting the connection between a user’s browser and your website. When a site has an SSL certificate, its URL begins with https://, and a padlock icon appears in the browser’s address bar.
Why is this important?
- Data Protection: SSL ensures that sensitive information like passwords, credit card details, and personal data remains secure.
- Trust and Credibility: Visitors trust sites with SSL certificates more because they know their data is safe.
- SEO Benefits: Search engines like Google prioritize secure sites, giving them a ranking boost.
- Compliance: Many regulations require SSL for handling sensitive data.
When your site lacks a trusted SSL certificate, browsers flag it as insecure, showing warnings like “Not Trusted Certificate.”
Common Reasons Your Apache WordPress Site Shows a “Not Trusted Certificate” Warning
- Self-Signed Certificate: Apache servers allow self-signed SSL certificates, but they are not trusted by browsers because they lack third-party validation from a Certificate Authority (CA).
- An expired SSL Certificate: SSL certificates have expiration dates. If your certificate is expired, browsers will display a warning.
- Incorrect SSL Installation: Improper configuration during the SSL setup process can cause trust issues.
- A mismatched domain name: If your SSL certificate doesn’t match your site’s domain name (e.g., a certificate issued for “example.com” but the site accessed via “www.example.com“), browsers will flag it.
- Missing Intermediate Certificates: Some CAs provide intermediate certificates that link your SSL certificate to their trusted root certificate. If these intermediates are missing, browsers may not trust your certificate.
Step-by-Step Guide to Fix the “Not Trusted Certificate” Warning
Step 1: Identify the Problem
Before jumping to solutions, pinpoint the issue:

- Visit SSL Labs and use their free SSL test tool.
- It will highlight issues such as an expired certificate, missing intermediates, or domain mismatches.
Step 2: Obtain a Valid SSL Certificate
If your site uses a self-signed or expired certificate, obtain a valid one:

- Free Option: Use Let’s Encrypt, a free CA, to issue SSL certificates.
- Paid Option: Purchase SSL certificates from providers like DigiCert, Comodo, or GoDaddy for advanced features and warranty.
Step 3: Install the SSL Certificate
Once you have a valid certificate, follow these steps to install it on your Apache server:

- Upload your certificate files (certificate, private key, and intermediates) to your server.
- Update your Apache configuration file (usually located at: /etc/apache2/sites-available/)
<VirtualHost *:443>
ServerName yourdomain.com
DocumentRoot /var/www/html
SSLEngine on
SSLCertificateFile /path/to/your_certificate.crt
SSLCertificateKeyFile /path/to/your_private.key
SSLCertificateChainFile /path/to/intermediate_certificate.crt
</VirtualHost>
- Restart Apache:
sudo systemctl restart apache2
Step 4: Ensure the Certificate Matches Your Domain
Verify that your SSL certificate is issued for the exact domain you’re using (e.g., “www.example.com” or “example.com”).
Step 5: Include Intermediate Certificates

If your CA provided intermediate certificates, ensure they’re included in the SSLCertificateChainFile directive in your Apache configuration.
Step 6: Test Your Configuration
After completing the setup:
- Revisit SSL Labs to confirm everything is configured correctly.
- Test your site in multiple browsers to ensure the warning is gone.
Step 7: Redirect HTTP to HTTPS
To ensure all traffic is secure:

Add this snippet to your Apache configuration or .htaccess file:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
FAQs – Not Trusted Certificate
Can I Use a Self-Signed Certificate for My WordPress Site?
While technically possible, a self-signed SSL often shows a “Not Trusted Certificate” warning in browsers. This discourages visitors from staying on your site. For any public WordPress site, always choose a certificate issued by a trusted Certificate Authority (CA) to ensure security and credibility.
What Happens If I Don’t Fix the SSL Warning?
If you ignore SSL issues, browsers may show a Not Trusted Certificate warning. Visitors will likely abandon your site due to safety concerns. Additionally, Google may reduce your SEO ranking, and you risk losing credibility, traffic, and potential customers who won’t engage with your site.
Do Free SSL Certificates Provide Enough Security?
Yes, free SSL certificates like Let’s Encrypt are fully trusted and don’t trigger the Not Trusted Certificate warning. They provide the same encryption strength as paid options. However, premium certificates may include added benefits like extended validation, warranties, or brand trust enhancements for professional businesses.
How Often Should I Renew My SSL Certificate?
SSL renewal is crucial to avoid a Not Trusted Certificate error. Free SSLs, such as Let’s Encrypt, expire every 90 days and require automated renewal. Paid certificates typically last 1–2 years. Always renew on time to maintain secure connections and uninterrupted visitor trust.
Why Does My SSL Work in Some Browsers but Not Others?
A common reason is a missing chain of trust, causing some browsers to display a “Not Trusted Certificate” message. Older browsers may not support newer TLS protocols. Ensure you install intermediate certificates correctly so your SSL works consistently across all devices and browsers.
Conclusion
Encountering a “Not Trusted Certificate” warning on your Apache WordPress site can be frustrating, but it’s a solvable issue. By understanding the causes and following the steps outlined above, you can restore trust in your website and ensure a secure browsing experience for your visitors.
Remember, SSL certificates are not just a technical requirement but a cornerstone of your site’s credibility and success. Don’t delay; take action today and keep your WordPress site safe and trusted!

Leave a Reply