UPDATE at bottom:
I am trying to upload a test app to Windows Azure for the first time and having problems when creating credentials.
These are the steps I'm following:
I create the credentials and certificate in Visual Studio, and upload the certificate to Azure as follows:
- right click Windows Azure Compute in server explorer
- Select Add deployment environment
- right click "Windows Azure Subscriptions"
- Select Manage
- Select New
- In "Windows Azure Project Management Authentication"
- In "Create or select an existing certificate for authentication", select "Create"
- Enter friendly name for cert "Test1", click OK
- Click "Copy the full path" and browse to "Management Certificates" on the Azure Management Portal
- Click "Add Certificate", click browse, paste the the copied path in, click Open, then Ok to create the cert
- Back in Visual Studio, copy in the subscription ID
- Name the credentials "Test creds"
- Click Ok
phew....
and here is where I have the issue..... when I click OK I get an error pop up:
"Windows Azure Connection Error" "Authentication failed. Verify that your credentials are valid or download them again. Debug information: n error (The request was aborted: The request was canceled.) occurred while transmitting data over the HTTP channel. The request was aborted: The request was canceled.
If I try to publish from my Visual Studio solution and create my credentials in a similar fashion to above, the "Windows Azure Publish Sign In" screen also launches the "Windows Azure Project Management Authentication" screen. Following the same steps above 7-13, and I get the following connection error:
"Windows Azure Connection Error" "Authentication failed. Verify that your credentials are valid or download them again. The remote server returned an unexpected response: (502) Proxy Error ( The Web site requires a client certificate, but a client certificate cannot be supplied when HTTPS inspection is applied to the request. ). The remote server returned an error: (502) Bad Gateway.
Long post, apologies for that.... any Azure experts out that can help?
Thanks in advance!
Update After more digging and starting to fully understand the error messages, it turns out that Forefront TMG is getting in the way and the tunneling out to Azure is failing. It doesn't forward on the certificate that is on my machine. Just waitint for IT to resolve this for me (hopefully!)
Update 2
Once IT sorted that out for me (they had to bypass the proxy for various Azure domain/IPs, I had a a further issue:
There was no endpoint listening at https://management.core.windows.net/<Subscription_ID>/services/hostedservices that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. Unable to connect to the remote server No connection could be made because the target machine actively refused it 70.37.71.239:443
The IP address at the end there is a US datacenter I believe and IT had to unblock that in our firewall. Once that was done I could deploy from Visual Studio. Hurrah!!