How to Fix Not Secure Warning in Chrome
In this article
When Chrome shows a “Not Secure” warning next to a website’s address, it means the site is not using a valid SSL/TLS certificate or is serving mixed content (secure and insecure elements). This warning appears on HTTP pages and on HTTPS pages with certificate problems. Fixing it usually involves either updating your website’s SSL setup, clearing browser data, or adjusting Chrome’s security settings. Below are step-by-step methods to resolve the warning, whether you’re a site owner or a visitor.
What You'll Need
- Access to the website’s hosting control panel or server (if you own the site)
- An SSL certificate (free options like Let’s Encrypt are available)
- Chrome browser (any recent version)
- Optional: a text editor or FTP client to edit website files
Step-by-Step
- Identify the exact warning
Click the padlock icon (or “Not Secure” text) in the address bar. A dropdown will show details. If it says “Your connection to this site is not secure,” the site is on HTTP or has a broken certificate. If it says “Your connection is not private” with error codes like NET::ERR_CERT_DATE_INVALID, the certificate is expired or misconfigured. - Check the URL
Look at the address bar. If the URL starts withhttp://instead ofhttps://, the site is not encrypted. Try manually adding the “s” (i.e., typehttps://before the domain) and press Enter. If the site loads without warning, the server supports HTTPS but isn’t forcing it. - Clear your browser cache and cookies
Sometimes Chrome caches a security error. Go to Chrome’s three-dot menu → More tools → Clear browsing data. Select “All time” and check “Cookies and other site data” and “Cached images and files.” Click “Clear data,” then restart Chrome and revisit the site. - Update your computer’s date and time
An incorrect system clock can cause certificate validation failures. On Windows, right-click the time in the taskbar → Adjust date/time → ensure “Set time automatically” is on. On macOS, go to System Settings → General → Date & Time and enable automatic setting. Then restart Chrome. - For website owners: Install an SSL certificate
If you control the website, you need a valid SSL certificate. Most hosting providers offer free SSL via Let’s Encrypt. In your hosting control panel (cPanel, Plesk, etc.), look for “SSL/TLS” or “Security” section. Follow your host’s instructions to enable the free certificate. If you have a paid certificate, install it via the control panel or upload the certificate files. - Force HTTPS redirects
After installing SSL, ensure all HTTP traffic redirects to HTTPS. In your site’s.htaccessfile (Apache) add:RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]For Nginx, add a server block that returns a 301 redirect. Many CMS platforms (WordPress, etc.) have plugins or settings to force HTTPS. - Fix mixed content
If your site loads over HTTPS but still shows “Not Secure,” it may be serving insecure resources (images, scripts, stylesheets) over HTTP. Open your site’s source code and search forhttp://references. Replace them withhttps://or use protocol-relative URLs (e.g.,//example.com/image.jpg). In WordPress, you can use a plugin like “Really Simple SSL” to automatically fix mixed content. - Renew or replace an expired certificate
Check your certificate’s expiry date. If it’s expired, renew it through your hosting provider or certificate authority. If you use Let’s Encrypt, set up auto-renewal (usually via cron job). After renewal, test the site again. - Restart Chrome and test
After making changes, fully close Chrome (including background processes) and reopen. Visit the site and check the padlock icon. It should show a lock or “Connection is secure.”
Common Mistakes
- Only installing a certificate but not forcing HTTPS – Visitors can still access HTTP, so the warning persists.
- Leaving mixed content – Even one insecure image can trigger the warning.
- Ignoring certificate chain errors – If intermediate certificates are missing, Chrome may still warn.
- Clearing only cache but not cookies – Sometimes stale cookies cause issues.
- Using a self-signed certificate for public sites – Browsers don’t trust them; use a CA-issued certificate.
Tips
- Use a free SSL service like Let’s Encrypt if you’re on a budget; it’s reliable and widely supported.
- Test your site with online SSL checkers (e.g., SSL Labs) to identify configuration issues.
- In Chrome, you can click the padlock icon to see certificate details and verify the issuer.
- If you’re a visitor and the warning appears on a site you trust, check if the site has a valid certificate by clicking “Not secure” → “Certificate is invalid.” If it’s an expired certificate, contact the site owner.
- For development, use a local certificate or disable Chrome’s security checks only for localhost (not recommended for public sites).
Troubleshooting
- Warning persists after installing SSL – Check that the certificate is installed on the correct domain (including www vs non-www). Use a tool like
openssl s_client -connect yourdomain.com:443to verify. - Chrome shows “Your connection is not private” with NET::ERR_CERT_AUTHORITY_INVALID – This usually means the certificate is self-signed or not trusted. Install a CA-signed certificate.
- Mixed content warnings still appear – Use Chrome’s DevTools (F12) → Console tab to see which resources are blocked. Fix those URLs.
- After clearing cache, warning still shows – Try incognito mode. If it works in incognito, the issue is cache-related; if not, the problem is server-side.
- Certificate is valid but Chrome says “Not Secure” – Check if your site uses a subdomain that lacks a certificate. Also check for HSTS issues.
Frequently Asked Questions
Why does Chrome say “Not Secure” even when I’m on a trusted site?
It could be because the site is still serving over HTTP, or it has a mixed content issue. Some older sites haven’t migrated to HTTPS. If you trust the site, you can proceed, but avoid entering sensitive information.
Is it safe to ignore the warning?
Generally no. The warning means your connection is not encrypted, so data you send could be intercepted. Only ignore it for non-sensitive browsing on sites you trust, and never enter passwords or credit card numbers.
How do I fix the warning on my own website if I’m not technical?
Contact your web hosting provider’s support. Most hosts can enable SSL for you. If you use a website builder (Wix, Squarespace), enable SSL in their settings—they usually handle it automatically.
Will the warning affect my SEO?
Yes, Chrome’s warning can deter visitors, and Google uses HTTPS as a ranking signal. Fixing it is beneficial for both user trust and search rankings.
Can I bypass the warning temporarily?
In Chrome, you can click “Advanced” and then “Proceed to site” for a specific visit, but this is not a permanent fix and is risky. It’s better to fix the underlying issue.
How long does it take for Chrome to recognize a new SSL certificate?
Usually immediately after installation, but sometimes a few minutes. If it doesn’t update, clear your browser cache or try incognito mode.