Installing an SSL certificate is only the first step in providing a reliable HTTPS connection. This guide gives you a repeatable process for checking certificate coverage, installing the certificate on your hosting platform, redirecting HTTP traffic, diagnosing mixed content, verifying TLS from a browser and command line, and preparing for renewal before visitors encounter security warnings.
Overview
An SSL certificate enables encrypted communication between a visitor’s browser and your website. In current browser terminology, this secure connection is generally shown as HTTPS. The certificate also helps the browser confirm that the connection is intended for the domain named in the certificate.
HTTPS problems usually come from one of four areas: the certificate is missing or incorrectly installed, the certificate does not cover the requested hostname, DNS still points to the wrong server, or the page loads some resources over HTTP. Renewal failures are another common cause, particularly when certificates are issued or renewed automatically but the validation process cannot reach the site.
Before changing settings, record your website’s hostnames and infrastructure. Include the main domain, the www version, active subdomains, staging environments, APIs, and any separate hosting or CDN endpoints. A certificate for example.com does not automatically mean that every subdomain is covered. Confirm the intended names with your certificate provider and hosting documentation.
If you are changing hosts, start with the DNS and migration checks in this guide to connecting a domain to web hosting. Keep email DNS records separate from website changes; changing web hosting does not necessarily require changing MX records.
What to track
Certificate and hostname checklist
- Covered names: Check the certificate’s subject alternative names or hostname list. Confirm that the exact domain visitors use is included.
- Expiry date: Record the date and set reminders well before it. The appropriate lead time depends on whether renewal is automatic and how much operational review your site requires.
- Issuer and certificate type: Record which certificate service issued it and whether it is managed by your hosting platform, a reverse proxy, a CDN, or your own server.
- Installation location: Note where the certificate, private key, and intermediate certificate are configured. Avoid copying private keys into tickets, documents, or chat messages.
- Renewal method: Identify whether renewal is automatic, control-panel based, or manual. Also record how domain ownership or control is validated.
- DNS dependencies: Track A, AAAA, CNAME, CAA, and validation records that affect certificate issuance or traffic routing. Review the DNS records guide if you need to confirm a record’s purpose.
- Redirect status: Confirm that both HTTP and HTTPS versions resolve as intended and that the redirect preserves the correct hostname and path.
- Application references: Look for hard-coded HTTP URLs in templates, stylesheets, JavaScript, images, fonts, forms, APIs, and canonical or alternate link elements.
Installing an SSL certificate
- Back up the website configuration and note the current DNS records. If the site is business-critical, schedule the change during a period when you can test it.
- Confirm that DNS points the hostname to the server or platform where the certificate will be installed. A valid certificate on the wrong server will not fix the visitor’s connection.
- Obtain the certificate and any required intermediate certificate from the certificate provider, or start the managed certificate process in your hosting control panel.
- Install the certificate, private key, and certificate chain in the correct service: web server, hosting panel, load balancer, CDN, or reverse proxy. The exact fields and labels vary by platform.
- Save or deploy the configuration, then test the site over HTTPS. Check the main domain, alternate hostname, important landing pages, forms, login areas, media, and API calls.
- Only after HTTPS works should you enforce the HTTP-to-HTTPS redirect. Keep a rollback plan until the complete site has been tested.
HTTP-to-HTTPS redirects
Configure one clear redirect from HTTP to the preferred HTTPS hostname. For example, decide whether the canonical address is https://example.com or https://www.example.com, then redirect other variants to it. Avoid redirect chains such as HTTP to one hostname, then to HTTPS, then to a different hostname.
Review application settings, CMS site URLs, canonical tags, XML sitemaps, analytics configurations, and third-party integrations after enabling the redirect. Redirecting traffic does not remove HTTP references embedded in page content, and it does not automatically update external services that call your site.
Mixed-content diagnosis
Mixed content occurs when an HTTPS page requests a resource over HTTP. Browsers may block active resources such as scripts or frames, while other resources may produce warnings or fail to load depending on browser behavior and resource type.
| Symptom | Likely cause | Action |
|---|---|---|
| Padlock warning or browser console message | An image, stylesheet, font, script, or API URL begins with http:// | Replace the reference with the HTTPS URL, a relative URL, or a suitable same-origin path. Confirm the target supports HTTPS. |
| Page layout is broken | A stylesheet or font was blocked | Inspect the browser console and network panel, then update the template, theme, or asset URL. |
| Forms or checkout features fail | A script, iframe, endpoint, or form action uses HTTP | Update the integration and verify that the external service supports HTTPS and the correct hostname. |
| Only some pages show warnings | Old content or a page-specific plugin contains an HTTP reference | Search the database, templates, source files, and content for the affected URL. |
| HTTPS works on one hostname but not another | The certificate or virtual host does not cover the second hostname | Check certificate names, DNS targets, and the server’s hostname configuration. |
Cadence and checkpoints
SSL monitoring should combine an expiry schedule with checks after infrastructure changes. Use the following calendar as a starting point and adapt it to your hosting arrangement.
| When | Checkpoint | Record |
|---|---|---|
| At setup | Verify all production hostnames, certificate coverage, DNS targets, redirects, and application URLs. | Certificate issuer, hostnames, expiry date, installation location, renewal method, and owner. |
| Monthly | Open the main site and key user journeys over HTTPS. Review certificate status and basic monitoring alerts. | Test date, results, errors, and any configuration changes. |
| Quarterly | Review subdomains, staging exposure, DNS records, redirect behavior, mixed-content warnings, and access to the hosting account. | Active hostnames, unused records, responsible owner, and remediation tasks. |
| Before expiry | Run a controlled renewal test if supported, confirm automated renewal prerequisites, and check notifications. | Renewal result, validation method, next reminder, and escalation contact. |
| After renewal | Verify the new certificate from multiple networks or checking locations where possible. Test site functions and APIs. | New expiry date, deployment result, and any old certificate still served. |
| After a migration or DNS change | Recheck every hostname, certificate installation point, redirect, email record, and CDN or proxy setting. | Change reference, affected services, tests completed, and rollback status. |
Keep reminders in a shared calendar or ticketing system rather than relying on one person’s inbox. A useful renewal entry includes the domain, hostname, hosting platform, certificate owner, renewal method, expiry date, validation requirements, and a link to the relevant control panel or runbook.
How to interpret changes
Browser checks
Open the site in a private browser window and inspect the connection or certificate details. Check the certificate’s validity period, hostname coverage, issuer, and chain. Repeat for the root domain, www hostname, and important subdomains. Use browser developer tools to inspect console errors and failed network requests when diagnosing mixed content.
Command-line checks
For a quick certificate view, use a command such as:
openssl s_client -connect example.com:443 -servername example.com -showcerts
The -servername option helps test the certificate selected for a specific hostname on servers hosting multiple sites. Review the served certificate, subject alternative names, dates, and chain. To inspect HTTP behavior and redirects, use:
curl -I http://example.com
curl -I https://example.com
Look for the expected status, Location header, hostname, and absence of unnecessary redirect steps. Command-line output is evidence about one endpoint at one time; compare it with browser results and your DNS configuration before concluding that the whole site is healthy.
Common interpretations
- Hostname mismatch: The requested name is not covered or the server is presenting a certificate for another site. Check DNS, virtual-host configuration, and certificate names.
- Expired certificate: Renewal did not complete, deployment did not reach the serving endpoint, or a proxy is presenting an older certificate. Check the renewal log and every TLS termination point.
- Untrusted chain: The server may be missing an intermediate certificate. Reinstall the provider’s recommended chain and test again.
- Connection refused or timeout: The problem may be a firewall, listener, DNS target, hosting service, or proxy rather than the certificate itself.
- Mixed-content warning: HTTPS is working, but the page still requests an HTTP resource. Fix the source URL rather than treating the warning as a certificate renewal problem.
When to revisit
Use this checklist monthly or quarterly, and revisit it immediately after a domain transfer, website migration, DNS change, hosting-plan change, CMS redesign, CDN or reverse-proxy change, new subdomain launch, or reported browser warning. Also review it when a certificate is renewed, replaced, revoked, or moved between providers.
For a practical next step, create a certificate inventory today. List each production hostname, the DNS target, certificate expiry date, installation point, renewal method, and technical owner. Then run the browser and command-line checks, record the results, and set a calendar reminder before the next renewal window. If the site has persistent HTTPS errors, compare the findings with this HTTPS troubleshooting guide. For broader domain and renewal planning, see the domain renewal checklist.
A short, maintained record is more useful than a one-time installation. Keeping certificate coverage, DNS dependencies, redirects, and renewal ownership visible reduces the chance that a routine certificate change becomes a website outage.