Azure Classic

To add your Azure cloud, you'll need to supply the Subscription ID plus a certificate file. The certificate file is required by Azure to authenticate your account and can be created with OpenSSL on MacOS and Linux. On Windows, you can use IIS, or install  OpenSSL for Windows.

Run the following openssl command to create the certificate file:

user@user:~$ openssl req -x509 -nodes -days 730 -newkey rsa:2048 -subj "/C=GR/ST=Attiki/L=Athens/O=Dis/CN=www.mist.io" -keyout azure.pem -out azure.pem

Generating a 2048 bit RSA private key
....++++++
....++++++
writing new private key to 'azure.pem'
-----

This creates azure.pem, a 2048 bit RSA self signed pem certificate that will be valid for 2 years.

Generate a .cer file out of it with the following command

user@user:~$ openssl x509 -inform pem -in azure.pem -outform der -out azure.cer


You will need to upload the azure.cer file on Azure and the azure.pem file on Mist.io.

Login to your Azure account on  https://manage.windowsazure.com and visit the SETTINGS section on the bottom left. Copy the SUBSCRIPTION ID (eg 807fff8a-86ec-4314-84fa-cfea350485e5), then select MANAGEMENT CERTIFICATES, and on the bottom of the page UPLOAD. A popup window opens, where you can select the .cer file and upload it to Azure. Once the file is uploaded, you should see it on the listing of your certificates.

Now to add your cloud to Mist.io, select Add cloud and choose Azure. Paste the Subscription ID and press Add certificate, to upload the .pem file.

By clicking Add, Mist.io will try to authenticate with Azure, and if the credentials are correct the cloud will be added and you should see a list of your virtual machines on the Machines section

Still need help? Contact Us Contact Us