Agreed, there is a bug logged for this for UI enhancement to allow importing chains :-) Would be great if someone can pick it up.
Thanks, Amogh On 5/16/14 8:48 AM, "David Bierce" <david.bie...@appcore.com> wrote: >It is kind of crazy that it worked without a double encode, but trying to >manually import with line breaks are literally imported into the >database, which is also incorrect. Because of the shell input for >cloudmonkey import a file or copy and paste between terminals. > >Developers and DevOps are fine with mucking with escapes, doing Database >Inserts, formulating API calls, but if I have to tell an administrator >anything other than ³Go to this page in the web interface, put your in >your certificates² it is broken. > > >On May 15, 2014, at 12:50 PM, Amogh Vasekar <amogh.vase...@citrix.com> >wrote: > >> Hi, >> >> On a different note - while using cloudmonkey with URL encoded >> certificates has worked till now, it may not future releases. The reason >> being - there was a bug which encoded and decoded the parameters to the >> relevant upload certificate API *twice*, and has been fixed. The double >> decoding allowed cloudmonkey with URL encoded certificates to work. Just >> wanted to make sure anyone referring to this thread sometime in future >> knows that the process may not work post 4.3 :-) >> >> If the database has the right certificates with line breaks etc - you >> should be fine. The code recreates the chain from the DB entries. As a >> sanity check, a simple diff should do it. >> >> Thanks, >> Amogh >> >> On 5/14/14 7:17 AM, "Michael Phillips" <mphilli7...@hotmail.com> wrote: >> >>> So I did not include the "%0D", but went back and added the line breaks >>> in the database manually. You think that's enough or do I need to >>>delete >>> and re-upload with the %0D? >>> >>>> Subject: Re: Intermediate CA >>>> From: david.bie...@appcore.com >>>> Date: Tue, 13 May 2014 07:34:46 -0500 >>>> To: users@cloudstack.apache.org >>>> >>>> Looks a little akward in the email, but all of it goes into a single >>>> URL encoded like. %20 for space, %0D for line breaks. >>>> >>>> On May 13, 2014, at 12:27 AM, Michael Phillips >>>> <mphilli7...@hotmail.com> wrote: >>>> >>>>> David, excellent example. >>>>> So all you needed to do was to replace the spaces in the cert with >>>> "%20", and do nothing for the line breaks? >>>>> >>>>>> From: david.bie...@appcore.com >>>>>> Subject: Re: Intermediate CA >>>>>> Date: Mon, 12 May 2014 12:18:39 -0500 >>>>>> To: users@cloudstack.apache.org >>>>>> >>>>>> There is still no way to do it in the GUI. That method works well. >>>> Or you can do it in cloud monkey like this. >>>>>> >>>>>> http://permalink.gmane.org/gmane.comp.apache.cloudstack.user/11711 >>>>>> >>>>>> >>>>>> On May 7, 2014, at 9:13 PM, Michael Phillips >>>> <mphilli7...@hotmail.com> wrote: >>>>>> >>>>>>> All, >>>>>>> Is it still necessary to follow this guide >>>> >>>>http://www.chipchilders.com/blog/2013/1/2/undocumented-feature-using-ce >>>>rt >>>> ificate-chains-in-cloudstack.html to import an SSL cert with an >>>> intermediate cert or can it be done direct via the GUI? >>>> >>>>>> >>>>> >>>> >>> >> >