Sorry, we found 0 results. Please try another query.
Showing max 10 of results

Vaultwarden (Bitwarden) on Azure Container Apps - Part 2

This is the second part of a series of articles about Vaultwarden on Azure Container Apps:

How to use a custom domain with a free Letsencrypt TLS certificate

In the first part of this series, I’ve shown you how to deploy Vaultwarden on Azure Container Apps. In this article, I will show you how to use a custom domain with a free Lets Encrypt TLS certificate.

Prerequisites

  • Azure Container App (see Part 1)
  • An Azure DNS Zone for your custom domain (see here)

Create a custom domain

For now, Azure Container Apps support custom domains but no auto managed TLS certificates. So, we will use an Azure Function to connect to Lets Encrypt, get the certificate and store and assign it to the container app.

Luckily there is a great solution on Github here: Container Apps Acmebot

Before you go on, make sure to add a TXT and a CNAME record for your custom domain with the data from the container app. You can find the data in the Azure Portal in the Custom domains section.

It is really easy to use. You can deploy it in the same Azure subscription where you already deployed Vaultwarden.
After install (via Deploy to Azure button on the Github repo), you open a simple website and select the domain and the container app to use and that’s it.

Upload

After a few minutes, you can see the certificate in the Azure Portal within the container app:

Upload

If you have any questions, please let me know in the comments or reach out to me on these other channels.

Leave a comment




Loading...