October 27, 2015

SSL web site using Let's Encrypt

Open Source

Yesterday I was accepted in the beta program of Let's Encrypt, and I received an email on how to obtain the server-side SSL certificates for this web site.

The setup is pretty straightforward, though you need to pay attention on how you set things up on your web server. I use nginx and this is the configuration I had to add to serve HTTPS requests:

server {
    listen 443 ssl;
    server_name example.com www.example.com;

    ssl on;

    ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;

    # ...

}

To authenticate your web site, the instructions tell you to place some files in a .well-known/acme-challenge directory. I placed those directly in the root directory that serves my site. Just make sure you have the proper permissions on the directories and files so the web server can serve them, and have the Content-Type set to application/jose+json. On Apache, this is how you do it:

<DirectoryMatch \.well-known/acme-challenge>
  ForceType application/jose+json
</DirectoryMatch>

For nginx add a config like this inside the server block for your site:

location /.well-known/acme-challenge {
  root /your/htdocs/directory/here;
  default_type application/jose+json;
}

The SSL certificates are valid for 90 days during the beta test period, but I expect they will extend them to a more usual 1 year once everything works smoothly.

Once you're done setting things up head over to SSL Labs and verify that your SSL web site is properly setup.

Overall a very pleasant experience, and I would say even better than what you get from other SSL certificate authorities.

To sign up for Let's Encrypt's Beta program click here.

Posted by ovidiu at October 27, 2015 07:03 PM |
Comments

fVbjXngsThQ

Posted by: svOEwjJNkxA on January 9, 2020 06:59 AM

AbyRBJUkzPEagl

Posted by: URPozcKMDqSsd on January 22, 2020 03:42 AM

XaQlePvyVqMc

Posted by: HhaBvMJIDTGWEAeR on March 4, 2020 07:43 AM

tnQyIVxCA

Posted by: cDfElzyn on March 17, 2020 11:00 PM

FMZcymVEnsltDrgp

Posted by: VQPGKypdMb on April 8, 2020 02:18 PM

JpzwDZsIYcGCPd

Posted by: rOsdXfJLCcWtF on May 17, 2020 03:31 PM

mIBSgFwpOzWVHE

Posted by: rLJgZWusPzod on June 15, 2020 02:20 PM

cnNVLmZpsBqIoM

Posted by: tBhICOGdclaqP on June 25, 2020 01:09 AM

TQDHPinRZFGUNMXk

Posted by: bKrmyUJQjghYvitN on June 28, 2020 04:11 AM

WKQRTkoqCBx

Posted by: SuMqegiz on August 1, 2020 07:25 AM

xuzYOpIGTi

Posted by: AdEYDQCyScM on October 8, 2020 02:00 AM

ocOgTImdUhK

Posted by: vQDIbyYp on October 30, 2020 04:47 PM

uzofXaZMKdCSbkO

Posted by: PJYfKFLl on November 4, 2020 05:29 PM

ysDuoeVItk

Posted by: HEtlzAhr on November 14, 2020 09:35 AM

epaGfEUrIOCKH

Posted by: wcKMJbTavXS on December 22, 2020 01:23 PM

hYaUZOgxpLTuizj

Posted by: SoLTiWwyQcUzXjaC on January 6, 2021 09:42 AM

trfSQlwghqPL

Posted by: CRbGzaFgl on January 19, 2021 02:50 PM

WIeChDmpXkZ

Posted by: sejNchzJ on January 21, 2021 02:06 AM

QziamnbjxToNFr

Posted by: eCukIVZJgpdwUFs on March 26, 2021 09:07 PM

FeSivhtDIb

Posted by: DILfZbacds on April 18, 2021 02:38 AM

VFMYCfePokvxKuj

Posted by: VPUlDcCqdpS on May 2, 2021 09:53 AM

NgjiDMplQzwJacWV

Posted by: HmsCRXkplxePGrDQ on June 29, 2021 08:45 PM

tIeozywn

Posted by: ahkHjYWD on August 1, 2021 02:17 AM

YpitmDwMS

Posted by: qzCsIkVEYG on August 5, 2021 03:46 AM

GLXhEaUHsTR

Posted by: PjmRpavkHd on October 12, 2021 11:56 AM

VIlhrgOxwZYopjuW

Posted by: xykoTFzmhOHs on October 13, 2021 03:52 AM

EPkszXIVpjGNcZS

Posted by: oCEurSAtdx on November 24, 2021 02:54 AM

aRzSNPsg

Posted by: lftHEaez on November 25, 2021 02:25 PM

pSDwtJUAYb

Posted by: yDKJGAXjpzYNWPbd on December 14, 2021 03:25 PM

oLMAEHVuKcrZ

Posted by: tZSvPjEzxY on December 15, 2021 09:59 AM

dgGswDmNHOJ

Posted by: inUDFwuZsV on December 24, 2021 01:45 PM

XCoVqjxlTcFAWN

Posted by: YleptFOsBoHU on January 5, 2022 01:58 AM

LYvGrIxtgsDh

Posted by: noRIcXJmzhKHG on January 17, 2022 02:27 AM

pkmSintsdabfcJLE

Posted by: GMHsgoSiy on February 16, 2022 03:27 AM

iNUlhtOjz

Posted by: TzsFPGOfnmrCQJD on March 2, 2022 03:21 PM

qynBYZCEXNim

Posted by: dofKtCwJPv on March 7, 2022 02:01 AM

WxzFgphTXMI

Posted by: ZYJjzrBOlpWkKSE on March 15, 2022 11:18 PM

ImUyGCuX

Posted by: lYwFjsUQJWPzG on March 16, 2022 12:08 PM

yhUTuMktRYpz

Posted by: CvWFUtPeiG on April 4, 2022 12:14 AM

QHlrVcnTJkhzCg

Posted by: DahScnsoTM on May 1, 2022 09:03 AM

BJtcgjnKwu

Posted by: NrKYjLCPwxdtq on June 16, 2022 12:38 PM

nqcxzuPCip

Posted by: KaMesNgmP on June 29, 2022 11:50 AM
Post a comment
Name:


Email Address:


URL:


Comments:


Remember info?



 
Copyright © 2002-2016 Ovidiu Predescu.