I've a vm role hosting my web application which call's rest management api's. I have generated a management certificate (.cer) in the vm and uploaded it to my subscription. The problem I have is when I call rest api's like "Create Virtual Machine Deployment"
i get 403 (Forbidden) from the server.
This is not happening when I am call the api's using windows forms application (Test app) on the vm role or when I m using my development enviroment (for dev i've generated and uploaded the certificate freom my machine).
FarhanK
Contributor
2603 Points
350 Posts
Getting HTTP (403) Forbidden
Dec 10, 2012 11:40 PM|LINK
Hi,
I've a vm role hosting my web application which call's rest management api's. I have generated a management certificate (.cer) in the vm and uploaded it to my subscription. The problem I have is when I call rest api's like "Create Virtual Machine Deployment" i get 403 (Forbidden) from the server.
This is not happening when I am call the api's using windows forms application (Test app) on the vm role or when I m using my development enviroment (for dev i've generated and uploaded the certificate freom my machine).
Any help is appreciated.
Regards,
Farhan
Regards,
Farhan Uddin Khan
Breeze Technologies
dev_2580
Member
456 Points
79 Posts
Re: Getting HTTP (403) Forbidden
Dec 11, 2012 07:47 AM|LINK
Couple of questions:
--- Grace ties up all the loose ends and suddenly everything makes sense ---
FarhanK
Contributor
2603 Points
350 Posts
Re: Getting HTTP (403) Forbidden
Dec 11, 2012 08:46 AM|LINK
Hi,
Thank you for replying.
1. The api's are azure rest management api's.
2. I am using IIS 7.0.
Regards,
Regards,
Farhan Uddin Khan
Breeze Technologies
dev_2580
Member
456 Points
79 Posts
Re: Getting HTTP (403) Forbidden
Dec 11, 2012 10:15 AM|LINK
Not sure why exactly that is happening. Run
in command prompt on the server and try again perhaps?
--- Grace ties up all the loose ends and suddenly everything makes sense ---