https://github.com/melezhik/azure-web-cert
Create SSl certificate for Azure web application
https://github.com/melezhik/azure-web-cert
azure perl6 sparrowdo
Last synced: 2 months ago
JSON representation
Create SSl certificate for Azure web application
- Host: GitHub
- URL: https://github.com/melezhik/azure-web-cert
- Owner: melezhik
- Created: 2018-05-14T13:42:39.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-12T17:30:43.000Z (almost 7 years ago)
- Last Synced: 2025-04-10T01:18:09.868Z (2 months ago)
- Topics: azure, perl6, sparrowdo
- Size: 11.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Azure Update Cert
Create SSL certificate and bind domain for Azure web application:
1. Create web SSL certificate for certificate taken from key vault SSL certificate ( `kv-id`, `kv-secret-name` )
2. Create domain (`domain`) for app service (`app-service-name`) and certificate ( `thumbprint` ). Thumbprint should be the thumbprint
of the certificate created by first step.# Prerequisites
* Az cli
# Usage
$ nano config.pl6
{
domain => "app.domain.foo",
thumbprint => "ABC010101H0A....",
az-res-group => "my-az-grp",
kv-id => "my-kv-storage",
kv-secret-name => "production-cert",
app-service => "app"
}
$ sparrowdo --git=https://github.com/melezhik/azure-web-cert.git --local_mode# Config.pl6
## az-res-group
Azure resource group
## thumbprint
SSL certificate thumbprint
## domain
Domain name
## kv-id
Key vault identification
## kv-secret-name
Key vault secret name
## app-service
Azure application service name
# Modes
## Default
This mode is applied by default. ARM templates are generated, validated and executed.
You can choose options, read next two sections.
## Dry run mode
In this mode ARM templates are generated, but not executed.
Set config to `dry-run`:
$ cat config.pl6
{
mode => 'dry-run',
# Other params
}## Validate mode
In this mode ARM templates are generated, validated but not executed.
Set config to `validate`:
$ cat config.pl6
{
mode => 'validate',
# Other params
}# Skip certificate creation stage
$ cat config.pl
{
skip-cert-crt => True
# Other params
}# Check ssl cert
$ cat config.pl
{
check-ssl => True
# Other params
}# Author
Alexey Melezhik