replicable = pornno, cuartos, naming, apkmody, iconos, derrylin, indiyah, pecueca, 0120911996, specialpedagog, verfahrenshilfe, 3336966557, cannibalism, hiroto, cannel, yamakopter, уипет, γκιουλμπασι, 3515737536, 4615816, glatima, 3042416760, repafet, woozworld, paxeladin, raidisseur, acelerada, sneeuwschop, bartosova, photopoint, 3510512388, 7501058368133, clidamicina, laubfal, fenech, konsanguinität, pornwhz, 0120983490, 0792418224, 0280000000, üzenet, zezam, avispas, akropenta, ferrycarrig, 18005328082, fbletics, mypornmotion, видеото, peloponisos, flocculazione, najeżka, négerkocka, réflexologue, 02439446368, convinar, reisetrolley, морген, 3898278295, جريزمان, seggiolone, silmähuuhde, logboat, hektisch, μελιτζανοσαλατα, morrissons, بطولات, ferrovalle, glaciar, 8667186991, shabadabada, адвантан, 05031992242, sylphrena, varostop, παγκασιους, الزنبور, rhodolith, катани, forka, misoya, promeai, tetraplegic, intimidator, 18666992794, cuestionario, hangparasol, алопуринол, ايجيبست, піддон, hunyo, wildtop, завертайло, seppie, 0353128922, columbovet, sushishopen, imotski, φορμολη, yoskine, робзі, pigloo, гаджик, τίγρης, 08020590906, cubnilingus, elicriso, heyetsy, 0120082999, horners, zemiduo, белсат, fabbro, хлоргекседин, paspel, 08016006398, 899744, topor, lelangit, orthopedagoog, 08007005587, 05017909156, sifiloma, imperija, dimeco, harmonicans, 07026558314, 30677237119, ciruelas, fundering, plaine, ecocenter, avamys, 3898203630, utdanningsvalg, 05053694954, bokoba, proporcionar, tamsui, sonivie, temascaltepec, pleonasme, 9562760312, myuscis, sobis, hince, neowiz, rakhis, lanzagranadas, talika, magnífica, manometr, phimmoihd, helminc, pupava, métacommunication, grietinele, patetico, purchawka, metacine, جريدر, βαζαρ, creditdevice, 7501037925579, стусси, vietfarm, 3414752099, baciu, buffarini, adley, bancom, 08001230540, 2192912002, romnia, 8142564839, 699823087, erevāna, swingolf, nappikorvakorut, premilitar, 4759567, apiros, anasac, 09090114998, 08020591294, moringen, tarjoilukärry, 08020590662, більше, triduo, espiritismo, angkas, авене, саукони, yangtorp, nittoku, 7877544950, riteil, bioluminiscencia, 8446061330, patriark, 32226290, 05050502056, søndergaard, 0928000099, egfix, 0266005186, туризъм, tuerto, gorjonline, wattson, fhisflunal, qstudent, przyprawy, акутирокс, keekihime, cromwells, kirkhamgate, yabanaki, herencsény, шалове, vollmart, ribovics, 07026560748, ruhens, 8009218101, tomok, 0352072667, prowling, 0120901212, 9104442796, bouwkachel, 0570550813, τσετσενοι, estampado, litigar, murtilla, lovegang, 8003360958, rimsgay, 0120163193, капина, 6908870796, vayonn, synclub, lopesan, 05017827008, daxon, bukspottkörtel, gramarly, eccepire, motphimchil, nastran, langauto, sivic, oknet, 401004000000, tábla, superbro, travelsecure, expeida, kecman, matriks, pelícanos, slaboficat, живокост, agnóstico, piturro, wärmedämmputz, 3139242, 5312019943, mentőautó, ecena, iatrogenia, 4158519136, enduropale, булли, осокорки, мобилебулгариа, 4053210600, pożar, badrumsfläkt, volzin, 0363759797, 0570010628, lebbyac, alttext, colaypola, 6474782566, boboiboy, اللاجونا, lateness, davanis, neurobin, dentidesk, unimy, jpvhub, миопридин, dbids, vinculacion, mikrofon, hardshell, tasly, обсесія, irace, dkhome, previews, ingestible, ceragro, 0120999044, группа, alphabeta, girlsnavi, sexbaba, visiodent, allibaba, pornuha, descentralización, asuratoon, الخرطال, balticar, fülgyűrű, похідна, azalya, avistaz, verenluovutus, sendmoney, фурмарк, coincidence, salariée, dneobank, 6267257723, природний, patógeno, 3175437199, pasesparques, alpurinol, jelpr, 2148888888, inflatia, hdkungfu, inspiracia, tekan, хінін, portasahumerios, socovesa, 0120613209, layun, irashai, нудісти, endokrinol, vacpa, piuccheperfetto, einzelnt, freyabyrne, dyscha, gestrik, lipagim, епстийн, friesen, 3462064179, nebibeta, карандаши, ابابيل, flygrostborttagare, wwwyahoocomtw, pnaco, fridtjof, personalreferent, dokoljenke, lyonnaise, 7702004007360, heizungsventilator, atragantamiento, 4761910, 08008884915, 3348244357, кефир, campesino, chupaprecios, excempt, nadelbaumarten, kavaljeeri, γναθοχειρουργοσ, 18004323117, zahnscheibe, 3293307398, tohia, opticar, eromex, conbections, 3668676656, aansprakelijkheidsverzekering, 5672068513, kőrózsa, guggi, gurkenkrankheiten, baotuoitre, lapzeme, фреон, eplus, barnlåtar, 360005, malingskrape, 08002221342, festrepublic, 5628243194, asynchron, quinua, 8058282933617852634, παρθενώνασ, regeneadar, 7868929126, bucoliche, kehlkopfkrebs, ersättningsanspråk, zigana, schummeln, seenlandmarathon, quinestesia, shastik, fussballdaten, momkult, physioflow, ebaki, estampida, chedeng, шліфмашина, noporhub, البوتاجاز, sidling, 8005666689, 3792844155, navicon, polancoas, harpo, 6317513000, 03301007477, 8772393491, gullu, pucat, barriles, haneto, santand, ciganikova, leste, abdukcia, speedi, 0505784, coaseguro, promocionar, rocklet, nogales, алладин, wenaas, korhelyleves, skyepack, агроконсультант, 61745201298, cesus

Installing an SSL Certificate and Fixing HTTPS Errors

A browser warning on your site is stressful. If you wonder how to install ssl certificate files, the short answer is: get one from a certificate authority, point your web server at it, and redirect HTTP to HTTPS. A certificate is only one piece of running a site, so our guide to website hosting shows…

5 min read

how to install ssl certificate

A browser warning on your site is stressful. If you wonder how to install ssl certificate files, the short answer is: get one from a certificate authority, point your web server at it, and redirect HTTP to HTTPS.

A certificate is only one piece of running a site, so our guide to website hosting shows where it fits in the bigger picture.

Item Value
Let’s Encrypt certificate type Free SSL/TLS certificates
Certificate validity period 90 days
Certbot snap renewal check Every 12 hours
Domain ownership verification ACME
Certbot certonly output folder /etc/letsencrypt/live

These figures come from Webdock’s Let’s Encrypt guide and the Certbot documentation. They can change, so check the source before you rely on them.

What you need before you install a certificate

A certificate authority issues the certificate that lets browsers trust your domain. Webdock’s guide describes Let’s Encrypt as a non-profit authority that provides free SSL/TLS certificates. If you buy from a commercial authority instead, follow that provider’s own instructions for the final install step.

Gather these things first:

  • Root or sudo access to the server, or a hosting panel that offers certificate tools.
  • A domain name that already points to the server.
  • The name of your web server software, usually Apache or Nginx.
  • A way to reload the web server once the configuration changes.

How much of this you can do yourself depends on your plan, so read about the types of web hosting if you are unsure whether you have server access.

How to install a free certificate with Certbot

The most popular way to get a Let’s Encrypt certificate is a tool called Certbot. Webdock notes that it comes pre-installed on its default stacks, so on those servers you can skip the install step.

  1. Check whether Certbot is packaged for your operating system, as the Certbot documentation advises. That page is an older version, so confirm the current steps for your system.
  2. Install Certbot with your package manager.
  3. Run Certbot with the plugin that matches your server, Apache or Nginx, and name each domain you want covered.
  4. Let Certbot prove you control the domain. It uses ACME for this, an automated way to verify domain ownership and issue certificates.
  5. Look in /etc/letsencrypt/live to confirm the new files exist.
  6. Open your site with https:// in front and check that the padlock appears.

Be careful with Docker. The Certbot documentation says that mode cannot install certificates or configure your web server, because the installer plugins cannot reach the server from inside the container, so you would have to install the certificate by hand.

Two brass padlocks hang from metal fittings on yellow doors.

Pointing Apache or Nginx at the certificate

If you used a command that only fetches the certificate, your server will not use it until you tell it where the files are. A Let’s Encrypt community thread shows a typical case: the visitor saw an authority error because the site was not using the new certificate in its configuration, or Apache had not been reloaded after the change.

For Apache, the thread lists three settings that must be right:

  • SSLCertificateFile, the signed certificate.
  • SSLCertificateChainFile, the intermediate certificate.
  • SSLCertificateKeyFile, the private key.

The same thread advises pointing those paths at the live folder rather than the archive folder, so that renewed certificates are picked up automatically. Reload the server after every edit.

If you are moving to another server, our guide on how to migrate a website to a new host covers the wider move, and you should plan to check HTTPS again on the new machine.

Why does my browser still show an HTTPS error?

A padlock can fail for reasons that have nothing to do with the install itself. These are the three most common causes.

Mixed content

Mixed content happens when a page combines secure (HTTPS) and non-secure (HTTP) elements, according to Webdock’s troubleshooting guide. Browsers may block the insecure parts, so images or scripts can break. Add a permanent redirect from HTTP to HTTPS in the server block, then search your site files and replace old http:// links.

Expired certificate

An expired certificate makes browsers flag the connection as insecure. Webdock states that Let’s Encrypt certificates have a 90-day validity period, and a missed cron job or system downtime can cause a renewal to be skipped, as explained in the same guide. Re-run Certbot’s renew command for your domains, then restart the web server.

Authority invalid

The error NET::ERR_CERT_AUTHORITY_INVALID usually means the server is serving the wrong certificate. Check the certificate, chain and key paths in your configuration, reload the server, and test again, as in the community thread.

Keeping your certificate renewed

Installing is half the job, because a certificate that lapses brings the warning straight back. The Webdock guide says Certbot snap packages have a built-in systemd timer that checks for renewals every 12 hours.

If you want a safety net, the same guide suggests adding a cron job that runs certbot renew. You can also renew by hand before the expiry date whenever you prefer.

After any renewal, load your site over HTTPS and confirm the padlock is intact.

Frequently asked questions

Do I have to pay for an SSL certificate?

Show answer

No. Free certificates are available from Let’s Encrypt, which Webdock describes as a non-profit authority. Paid options exist if you prefer a commercial provider.

Can I use Docker to install the certificate?

Show answer

Docker can fetch a certificate, but the Certbot documentation warns it will not set up your web server for you. You would finish the setup manually.

What should I do if the padlock disappears after a few months?

Show answer

Suspect a failed renewal first. Let’s Encrypt certificates last 90 days according to Webdock, so run the renew command and restart the server.

Why does Chrome say my certificate authority is invalid?

Show answer

Your server is probably not using the new certificate yet. In a Let’s Encrypt forum case, the fix was correcting the configuration paths and reloading Apache.

More from this scene