Re: Upload root certificate and intermediate certificate

2014-09-20 Thread abhisek basu
Please run the login api using the api key and signature, in return you will get the session key. Sent from my iPhone > On 20 Sep 2014, at 10:58 pm, "Indra Pramana" wrote: > > Hi Abhisek and all, > > Good day to you, and thank you for your reply. > > How can we tell what is the session key,

Re: Upload root certificate and intermediate certificate

2014-09-20 Thread Indra Pramana
Hi Abhi, Amogh and all, Managed to use &response=json command while login and noted the sessionkey value. Have run the uploadCustomCertificate API to upload the root certificate but got error message stating that it's not in ASCII format: for parameter certificate is invalid, contains illegal ASC

Re: Upload root certificate and intermediate certificate

2014-09-20 Thread Amogh Vasekar
Viewing it in firebug in firefox, or developer tools in Chrome would be easiest IMO. Simply turn on the plugin / tools and click on some tab while logged in. The "Network" tab would show the parameters used to make requests. Copy the sessionid parameter Amogh On 9/20/14 11:41 AM, "Indra Pramana"

Re: Upload root certificate and intermediate certificate

2014-09-20 Thread abhisek basu
Can you include the response and set it to json format to get better output. However the default response is in XML. Sent from my iPhone > On 21 Sep 2014, at 12:11 am, "Indra Pramana" wrote: > > Hi Abhisek and all, > > I tried to run the login API command via browser: > > https://x.x.x.x:808

Re: Upload root certificate and intermediate certificate

2014-09-20 Thread abhisek basu
If you are using signature then session key is not needed. Sent from my iPhone > On 20 Sep 2014, at 11:49 pm, "Indra Pramana" wrote: > > Hi Abhisek, > > I checked on this documentation on login via API: > > http://cloudstack.apache.org/docs/api/apidocs-4.2/user/login.html > > It says that fo

Re: Upload root certificate and intermediate certificate

2014-09-20 Thread Indra Pramana
Hi Abhisek and all, I tried to run the login API command via browser: https://x.x.x.x:8080/client/api?command=login&username=myusername&password=mypasswordinMD5hashingformat The result is all the response results in one single line without any separator. e.g. 1800somethingfalseusernameAsia/Kua

Re: Upload root certificate and intermediate certificate

2014-09-20 Thread Indra Pramana
Hi Abhisek, I checked on this documentation on login via API: http://cloudstack.apache.org/docs/api/apidocs-4.2/user/login.html It says that for login API command, I need to put the username and password as well? Can I login using username and password instead, do the api key and signature still

Re: Upload root certificate and intermediate certificate

2014-09-20 Thread Indra Pramana
Hi Abhisek and all, Good day to you, and thank you for your reply. How can we tell what is the session key, are you able to give me the command to check what is the session key? I have API key and secret key, but not too sure how to check what is the session key. Looking forward to your reply, t

Re: Upload root certificate and intermediate certificate

2014-09-20 Thread abhisek basu
Inline.. Sent from my iPhone > On 20 Sep 2014, at 7:50 pm, "Indra Pramana" wrote: > > Dear all, > > I am using CloudStack 4.2.0 and I am following this procedure to change > console proxy to use our own domain: > > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Procedure+to+Replace+re