How to Install an SSL Certificate Without Breaking HTTPS

Choose a managed certificate or Certbot workflow, validate the right hostnames, check HTTPS, and test renewal before relying on the installation.

FBFenwei BianAuthorOct 22, 2026est. 5 min read
  • https
  • tls
  • certificates
  • security

Install an SSL certificate through the service that handles HTTPS for your website. A managed host may issue and renew the certificate automatically. A server you administer needs a compatible certificate client and web-server configuration. Let’s Encrypt distinguishes these two routes.

Choose the route before buying a certificate or uploading a private key. The useful outcome is a working HTTPS website with a tested renewal process. A certificate file alone does not complete the installation.

Your hosting arrangement determines who installs the certificate

Start in the account that serves the website. Your registrar, authoritative DNS provider, hosting provider, and reverse proxy may all be different services. Our domain and hosting comparison explains the separate responsibilities.

Website arrangementInstallation starting point
Managed website platformThe platform’s custom-domain and HTTPS instructions
Managed shared hostingThe host’s certificate panel or support documentation
Server you administerAn ACME client compatible with the server and operating system
Website behind a proxyBoth the public HTTPS endpoint and the proxy-to-origin configuration

Let’s Encrypt says many hosting providers operate an ACME client for customers. The host may enable certificates automatically or expose an option. Check the host’s documented workflow first.

For a managed platform, add the exact hostname to the correct site. Complete the platform’s domain verification and DNS instructions. Wait for the platform to confirm certificate issuance, then test the hostname through HTTPS.

Do not upload a private key to an unrelated service or support ticket. Use the authorized account and the intended provider’s certificate controls. Keep a record of who manages renewal.

Managed hosting handles certificate work while self-managed servers use an ACME client.

You should prepare the destination before requesting validation

List every public hostname that needs HTTPS. For a hypothetical website, the list might include example.com and www.example.com. Do not assume a certificate request for one name automatically includes the other name.

Confirm that the host accepts the hostname and that DNS points toward the intended service. Check both IPv4 and IPv6 destinations when you publish both. An old destination can complicate diagnosis even when another destination works.

Back up the server configuration before permitting an installation tool to edit the configuration. Preserve a working recovery path through your hosting console or authorized server access.

Choose domain validation according to your environment. Let’s Encrypt documents the challenge methods. The choice affects how issuance and future renewal will work.

Validation methodRelevant boundary
HTTP-01Uses a challenge file and requires port 80
DNS-01Uses a DNS TXT record and supports wildcard names
Provider-managed validationFollows the provider’s custom-domain workflow

These requirements do not justify disabling a firewall or exposing unrelated services. Configure only the documented challenge path and required service access.

Certbot can configure a supported Nginx server

Use this route only when you administer the server. The following example assumes Nginx on a compatible Linux system with snap support. EFF’s selected Certbot instructions contain the installation prerequisites and current commands.

Select your actual operating system and web server on Certbot’s instructions page. Do not reuse the Nginx route for an unrelated web server.

After completing the selected installation instructions, run sudo certbot --nginx. EFF documents this command as a way to obtain a certificate and let Certbot edit Nginx configuration. Review the selected hostnames and requested changes.

If you intend to manage configuration yourself, EFF documents sudo certbot certonly --nginx. That route obtains the certificate without the same automatic installation step. Certificate-only issuance leaves you responsible for completing the server configuration.

Test the resulting Nginx configuration with the server’s supported validation workflow before relying on a reload. Preserve the previous configuration until the application passes the checks below. Treat these as operational precautions, rather than a replacement for EFF’s installation instructions.

DNS validation needs automation and limited credential access

DNS-01 publishes a value under _acme-challenge for the requested domain. Let’s Encrypt checks the TXT record to validate control. DNS-01 supports wildcard certificates and web servers that do not expose HTTP publicly. The challenge documentation explains these capabilities.

A manual TXT record can help with a single validation, but repeated manual updates create an ongoing renewal task. Prefer a supported DNS integration when you need unattended renewal.

Let’s Encrypt warns that full DNS API credentials on a web server increase the impact of a compromise. Use narrowly scoped credentials where supported. The documentation also describes delegating challenge responses through CNAME or NS records.

Keep the public TXT value separate from the secret used to update DNS. Publish only the challenge value that the client requests. Do not place the provider’s API token in the DNS record.

Check the exact DNS-01 TXT owner name with Namefi's DNS lookup after the client publishes the challenge. Compare the selected resolver's answer with the client's requested value. This check does not inspect the installed certificate, private key, or TLS chain.

A private scoped DNS API credential updates a separate public challenge TXT value.

You should test the application and renewal after issuance

Open each intended hostname with https://. Inspect the certificate details for the hostname and validity. Test an actual content page and an important application action. A working homepage alone does not check every hostname or application path.

Then check the HTTP-to-HTTPS behavior. Confirm the destination address and watch for redirect loops. Review the browser console for failed resources and unexpected HTTP resource URLs.

For a Cloudflare proxy, verify the provider’s origin-certificate requirements separately. A working visitor-to-proxy connection does not complete your origin configuration review. Follow the proxy’s documented certificate validation mode.

For Certbot, run sudo certbot renew --dry-run. EFF documents this renewal test and the scheduled renewal mechanism. Inspect the installed timer or scheduled job, rather than assuming a successful manual issuance proves future renewal.

FailureFirst investigation
Validation failsDNS destination and the selected challenge method
Browser shows a name mismatchRequested hostname and selected server certificate
Some resources failResource URLs and browser console errors
Renewal test failsClient logs, challenge access, and DNS integration permissions

Do not bypass certificate validation to hide an error. Record the exact error and repair the relevant configuration. Our Chrome secure connection guide provides a diagnosis path.

Assign an owner to certificate monitoring and renewal alerts. Finish the installation record with the hostnames, installation method, renewal mechanism, and last successful test. Those details make the next renewal failure easier to resolve.

TCP reachability, TLS verification, and an HTTP response require separate checks.

Sources and further reading

Lets Encrypt separates hosted and self managed certificates

Lets Encrypt separates hosted and self managed certificates, checked 2026-10-30.

Lets Encrypt documents domain validation

Lets Encrypt documents domain validation, checked 2026-10-30.

EFF documents the Nginx workflow

EFF documents the Nginx workflow, checked 2026-10-30.

About the author(s)

Software Developer & Writer • Namefi
FBAuthor

Fenwei Bian is a software developer in her thirties who spends her working hours in pull requests and her weekends with her hands in soil or sawdust. Years of open source on GitHub taught her that names are interfaces: a good one is clear, honest about what it does, and kind to whoever has to use it next.

She gardens because it rewards patience and punishes wishful thinking, and she does woodwork because a joint either fits or it doesn't. Both habits show up in how she writes about naming — measure twice, check the source, and don't sand over a rough spot and hope no one notices.

For Namefi she writes about how domain markets actually move, the practical trade-offs of tokenizing and flipping names, and picking a domain you'll still be glad you own in twenty years.

Related guides

Discuss this post

View the discussion on Namefi Discuss