Posts

Showing posts from 2019

Breaking free from on-premises

Image
Two three years ago now (wow, time flies!), I was investigating how we could transition from our on-premises message based architecture to having services running in Azure. This article briefs you on parts of our journey thus far. In this post Background Extending our first on-premise service to the cloud - a scenario Reference material Background On premises, we were running NServiceBus with its default MSMQ transport. We were relying on DTC to ensure that we had transactional guarantees for message delivery, and we had grown comfortable with this support. As such, we were looking for a solution where we could extend our current mesh of on-premises services into the cloud, having them work together for an extended period of time, until we finally had moved them all. Also, due to dependent software components, for a given set of services, we were tied down to an older version of NServiceBus (4), whereas we - in the cloud (and for our new services) - wanted to use

Creating and renewing your website certificates from Let's Encrypt

Image
OK, *phew*, I've now managed to both create, let my customers run for a 60+ days, and renewed their Let's Encrypt certificates on a number of domains. Time to share my learnings! First off - a big thank you to Let's Encrypt , it's community of users and, finally, to Ryan Bolger for creating and maintaining his Posh-ACME github repository . Using the before mentioned repository, I was able to create a reusable powershell script that issues orders for certificates, stores these certificates in a keyvault that my customer organization owns and, finally, renewing those certificates, updating the contents of the customer's keyvault. Let's get to it! My script starts off with a param declaration, letting you run it either for test or prod: param ([ switch ] $ForProduction ) Discussing the fictional domain name blog.article.com , running the script for test would issue certificates for dev.blog.article.com test.blog.article.com itest.blog.article.co