Giter Site home page Giter Site logo

azure-linux-webapp-letsencrypt.'s Introduction

Azure Linux Web App SSL Renewal with Let's Encrypt

This is a collection of scripts I wrote to semi-automate the process of manually renewing, uploading and binding an SSL certificate from Let's Encrypt to Azure's Linux Web App hosting. I built it for use with my Sinatra-based webapp. Its designed to be run on a local machine, not on the web app.

It will create your SSL certificate, uploading the validation code and token via FTP to your Azure Web App hosting (and remove them once complete), convert the SSl to a PFX file, upload the PFX to Azure Portal, then bind the SSL to your custom domain name.

Requirements

You can install most of these from Homebrew

  • certbot
  • openssl
  • lftp
  • Azure CLI

So why not try : brew install openssl certbot lftp azure-cli

Use

Simply edit the three files with your relevant web app name, resource group from Azure, deployment credentials (get these from the Publish Profile) and run
./rewew_ssl.sh

Note: These scripts are provided as is. Test them first before using in any production environment. Don't be dumb enough to run random scripts from the internet on live stuff.

Changelog

2020-05-09 - Added Resource Group variable name, more progress output
2020-02-08 - Added Readme
2020-02-08 - Initial Commit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.