On Tue, Jan 15, 2013 at 04:30:05PM +0530, Asmita Vagyani wrote: > Hi all, > > After installing management server I am trying to call a cloudstack API - > > #curl --user "admin:sigma123" > "http://localhost:8080/client/api?command=listAccountskeypair=bXFnKCix8VhhEGunkFbz8gWgwHc3WB0Tg7m3nE7LujhYo0-PGixkjOhtb2gKA\&signature=eaddca273cba89aacf4d0472356516586e2b24f8" > > <?xml version="1.0" encoding="UTF-8"?><errorresponse > cloud-stack-version="4.0.0.20121024012150"><errorcode>432</errorcode><errortext>The > given command does not > exist</errortext></errorresponse>[root@torvm-cloudstack-mgmt ~]# > > I am getting an error saying command doesnot exist. > > I generated the signature using > # echo -n "value" | openssl sha1 -hmac > "keypair=bXFnKCix8VhhEGunkFbzqniHwYjgVUFr7KrUbKIc_g_tH8gWgwHc3WB0Tg7m3nE7LujhYo0-PGixkjOhtb2gKA" > Try cloudmonkey: https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+cloudmonkey+CLI
It encapsulates what you are trying to do through an autcompleteing CLI. -- Prasanna.,