Skip to content

Instantly share code, notes, and snippets.

View nikooo777's full-sized avatar
🇨🇭
Swiss Made

Niko nikooo777

🇨🇭
Swiss Made
View GitHub Profile
@nikooo777
nikooo777 / Certbot Authentication - HTTP to DNS.md
Last active January 11, 2019 12:34
How to convert a Certbot certificate configuration based on HTTP authentication to DNS based authentication

HTTP Authentication to DNS Authentication - Certbot (Letsencrypt)

Introduction

Certbot now supports DNS authentication and you probably already know that!

Official documentation here

While upgrading the infrastructure at LBRY, the company I work for, I had the necessity of changing certbot renewals from HTTP auth to DNS auth.

A quick google search didn't bring any results for my simple question "How to convert a Certbot certificate configuration based on HTTP authentication to DNS based authentication" (hint: that's too long to be used as search key!) so I thought I'd write up this simple guide.

This article will walk you through the simple steps of porting your old certificates from HTTP authentication to DNS authentication.