Explorations in certificates

Main article

https://azure.microsoft.com/en-us/documentation/articles/api-management-howto-mutual-certificates/

Install chocolatey https://chocolatey.org/install

Change execution policy in Powershell https://technet.microsoft.com/en-us/library/hh849812.aspx

Armclient to change website settings to get client certificates https://github.com/projectkudu/ARMClient

Configure web app for TLS

https://azure.microsoft.com/en-us/documentation/articles/app-service-web-configure-tls-mutual-auth/

ARMClient.exe login

C:\cert>ARMClient PUT subscriptions/d900ee02-9bfe-4c3d-ae60-0879bb157d24/resourcegroups/Velociraptor/providers/Microsoft.Web/sites/WnsRepo?api-version=2015-04-01 @enableclientcert.json -verbose

Enableclientcert.json

{ "location": "West US",

"properties": {

"clientCertEnabled": true } }

ARMClient.exe login

Create API service

https://azure.microsoft.com/en-us/documentation/articles/api-management-get-started/#create-service-instance

Create a cert

http://www.davidaiken.com/2009/12/21/how-to-create-a-x509-certificate-for-the-windows-azure-management-api/

Create web service with WADL

https://blogs.msdn.microsoft.com/visualstudio/2015/03/24/introducing-the-azure-api-apps-tools-for-visual-studio-2013/

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s