Custom Domain to Azure Web APP | Creation SSL Certificate locally | OpenSSL | ASP.NET Application



Custom Domain to Azure Web APP | Creation SSL Certificate locally | OpenSSL | ASP.NET Application

Custom Domain to Azure Web APP | Creation SSL Certificate locally | OpenSSL | ASP.NET Application

Mapping Custom Domain with Azure Services

Task:
– Creation of Azure Services
– Mapping custom domain with Azure Apps (devopsmela.in)
– DNS Records update — Godaddy
– Creation of your own SSL Certificate locally — OpenSSL
– SSL Binding with a custom domain

Commands:

#### Private Generation(PKI) ####

## openssl — toolkit genrsa — generate rsa key -aes128 — encryption mechanism
openssl genrsa -aes128 -out fd.key 2048

## Verify generate key
openssl rsa -text -in fd.key

## Fetch Pub Key out of fd.key
openssl rsa -in fd.key -pubout -out fd-public.key

## Create Single SIGN Certificate with extension “serverAuth”
openssl req -x509 -new -key fd.key -in fd.csr -out devopsmela.cer -addext “extendedKeyUsage=serverAuth”

## Create .pfx format from Certificate
openssl pkcs12 -export -out devopsmela.in.pfx -inkey fd.key -in devopsmela.cer