DEV Community

Valentin Pearce
Valentin Pearce

Posted on

5 1

HTTPS Everywhere ! (Or at least on your website(s))

Originally posted on 2017-10-24 on my self-hosted WIP Blog

You might have noticed this website is encrypted !

This is because with the recent release of KRACK, the WPA2 vulnerability, I decided to setupt what I had tried to four months ago (see my previous post)

Last time, the process was difficult since my OS (Raspbian) was missing some dependencies and I had to fiddle with repositories lists to install software written for Debian.
I had no idea what I was doing and decided it was best not to continue.

This time on the other hand, I discovered certbot ! This Let's Encrypt client made it so much easier. This is how the process went :

  • Download certbot
  • RTFM
  • Run certbot
  • Fail because you haven't redirected port 443 to your server
  • Spend half an hour trying to remember your router's password (and fail)
  • Ask your network admin (aka Dad) for the password
  • Redirect port 443
  • Run certbot
  • Have a cup of tea and some biscuits to celebrate !

It's as easy as that ! So really, if you have a web server with self hosted apps, don't hesitate and encrypt everything !

Cheers !

Alzaï

Sentry blog image

How I fixed 20 seconds of lag for every user in just 20 minutes.

Our AI agent was running 10-20 seconds slower than it should, impacting both our own developers and our early adopters. See how I used Sentry Profiling to fix it in record time.

Read more

Top comments (2)

Collapse
 
chiangs profile image
Stephen Chiang

Certbot and let's encrypt really is awesome. Have a look at my post here to see if it's of any value to you too: article

Collapse
 
valentinpearce profile image
Valentin Pearce

I haven't used AWS services at all for now but it will probably allow me to experiment without putting my small server at risk.

I think if anybody needs more incentive to move towards SSL/HTTPS, the Chrome July Update should make that an evidence.

The best way to debug slow web pages cover image

The best way to debug slow web pages

Tools like Page Speed Insights and Google Lighthouse are great for providing advice for front end performance issues. But what these tools can’t do, is evaluate performance across your entire stack of distributed services and applications.

Watch video

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay