jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <n...@apache.org>
Subject Re: jClouds with https
Date Mon, 29 Jun 2015 21:00:13 GMT
You can also provide a custom SSLContext supplier if you have the
certificates and don't want to blindly trust them all. Take a look at
this comment:
https://issues.apache.org/jira/browse/JCLOUDS-816?focusedCommentId=14296666

On 29 June 2015 at 21:08, Rashid Rashidov <rrashidov@gmail.com> wrote:
> Hi Mark,
>
>
>
> Here is the problem that I had with https endpoints:
>
>
>
> I am using jClouds 1.8.1 against OpenStack Juno. My nova endpoint URL is
> setup on HTTPS and I don't have server certificate installed.
>
>
>
> The native OpenStack clients can not connect to the HTTPS endpoint. However,
> the native client has an "--insecure" parameter which let's me workaround
> the problem. Unfortunately, I was not able to find such an option in
> jclouds. Do you know any workaround of this problem?
>
>
>
> And here is the solution provided by Ignasi Barrera:
>
>
>
> Try configuring the following properties when creating the context:
>
>
>
> Properties overrides = new Properties();
>
> overrides.setProperty(Constants.PROPERTY_RELAX_HOSTNAME, "true");
>
> overrides.setProperty(Constants.PROPERTY_TRUST_ALL_CERTS, "true");
>
>
>
> I hope it helps.
>
>
>
> Regards,
>
> Rashid
>
>
>
> From: Higginbottom Mark [mailto:Mark.Higginbottom@uk.fujitsu.com]
> Sent: Monday, June 29, 2015 6:01 PM
> To: user@jclouds.apache.org
> Subject: jClouds with https
>
>
>
> Hi All,
>
>
>
> How does jClouds cope with https endpoints. Do I have to set up anything in
> the client to make a https connection?
>
>
>
> Does anyone have any example code to share? I am trying to connect to an
> OpenStack endpoint.
>
>
>
>
>
>
>
> Thanks for your help.
>
>
>
>
>
> Mark Higginbottom
>
>
>
>
> Unless otherwise stated, this email has been sent from Fujitsu Services
> Limited, from Fujitsu (FTS) Limited, or from Fujitsu Telecommunications
> Europe Limited, together "Fujitsu".
>
> This email is only for the use of its intended recipient. Its contents are
> subject to a duty of confidence and may be privileged. Fujitsu does not
> guarantee that this email has not been intercepted and amended or that it is
> virus-free.
>
> Fujitsu Services Limited, registered in England No 96056, registered office
> 22 Baker Street, London W1U 3BW.
>
> Fujitsu (FTS) Limited, registered in England No 03808613, registered office
> 22 Baker Street, London W1U 3BW.
>
> PFU Imaging Solutions Europe Limited, registered in England No 1578652,
> registered office Hayes Park Central, Hayes End Road, Hayes, Middlesex, UB4
> 8FE.
>
> Fujitsu Telecommunications Europe Limited, registered in England No 2548187,
> registered office Solihull Parkway, Birmingham Business Park, Birmingham,
> B37 7YU.

Mime
View raw message