app engine

Point an Express.js App at Google Storage Bucket Files for Let's Encrypt Authentication

In this post, I'll show you how to store the keys in a Google Cloud Storage Bucket instead of statically in the code. This will allow you to update your certificate authentication with Let's Encrypt without deploying a new version of your app (thank goodness), and is a great first step towards automating this process entirely.

Manually Deploy Express.js App to Google App Engine with Let's Encrypt Cert

I didn't find a guide that brought this all together on the web, so here it is. We are going to be adding a module to our app that will be returning the correct text for the Let's Encrypt validation, using express middleware to direct the route correctly, and having a lot of fun!