cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien <>
Subject Re: Download templates and ISOs via HTTPS
Date Fri, 20 May 2016 11:47:02 GMT

In fact, yes, and everything inside CloudStack is working fine (I can
connect to CPVM correctly, the right certificate is presented, etc).
The only problem with this procedure is that the certificates you
upload are put in a custom keystore. This keystore contains only the
key, chain and root certificate uploaded via the API.

When a custom keystore is provided, the default keystore (ie, the one
containing generally trusted root CAs included in common browsers) is
not loaded, and thus the only root CA that would be trusted is the one
corresponding to the uploaded wildcard. In my case, I want users to be
able to add templates hosted on HTTPS servers, which present SSL
certificates from various root CAs.

I think the contents of the “realhostip” keystore should be:
- contents the default keystore
- and, additionnally uploaded cert, chain, root and key.

Best regards,

On Fri, May 20, 2016 at 11:28 AM, Abhinandan Prateek
<> wrote:
> Have you followed the procedure documented here
> On 19/05/16, 11:01 PM, "Aurélien" <> wrote:
>>I’m investigating an issue on CloudStack 4.8.0, which is I believe
>>well described in
>>I’m trying to add my ISO from, for example:
>>The problem is that I’m using a custom SSL certificate, and because of
>>this, the java instance on the SSVM (and CPVM) is started with a
>>custom keystore; doing so also overrides the default certificate trust
>>store, and the traditional certificate validation mechanisms, so I get
>>the error ( PKIX path
>>building failed:
>> unable to
>>find valid certification path to requested target).
>>Would il be possible and advisable to add the contents of the default
>>certificate store (Option 2 in
>>to the custom store when a custom SSL certificate is activated ?
>>If so (i’m relatively new to CloudStack’s code) where should I peek in
>>the System VM to add the custom import commands ?
>>Is there any existing issue you are aware of that addresses this issue
>>? In my opinion, if there isn’t, we should open one.
>>What do you think ?
>>Thanks !
>>Best regards,
>>Aurélien Guillaume
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue

Aurélien Guillaume

View raw message