I think we can give documentation about where such items are located and help users along who aren't familiar with these nuances.
The "auto suggest" could be nice but would be curious how this would manifest itself in UX.
Chris,Assuming it's one way ssl, did you try configuring an SslContextService with the cacerts file that comes bundled in with your Java install? The trust store should be located somewhere in your Java installation. Maybe JAVA_HOME/jre/lib/security/cacerts assuming it's a JDK. The default password is usually changeit.Let me know if that helps.Matt
Sent from my iPhone
On Sep 5, 2015, at 2:53 AM, Chris Teoh <email@example.com> wrote:I think that makes sense. I don't know how Python does it but using that was very easy. I'm not familiar with having to generate a keystore or trust store or both (which one do I use?) to get at public SSL sites. Perhaps document how to do it if it was a self signed or internally signed certificate but ideally it should be easy for public internet sites.On Sat, 5 Sep 2015 at 2:31 pm Joe Witt <firstname.lastname@example.org> wrote:would it be feasible to try and look for reasonable default locations
to find prebuilt keystores to make this sort of thing easier?
...in addition to documenting it of course.
On Fri, Sep 4, 2015 at 9:10 PM, Aldrin Piri <email@example.com> wrote:
> The issue for those sites is you need a set of root certificates for the
> common sites on the web much the same way a browser comes bundled with them.
> The Linux distributions typically come with a prebuilt truststore when Java
> is installed and it lives within /etc/pki/. Exact location escapes me at the
> moment. If you are in another environment, let us know and we can try to
> help get you setup there.
> Several people run into this because that one-way SSL is one of those things
> that just works (or is bypassed/ignored when it is not). Not sure if we
> should have a processor equivalent to a curl -k param (gut feel is a no),
> but this is at least FAQ material.
> On Fri, Sep 4, 2015 at 23:44 Chris Teoh <firstname.lastname@example.org> wrote:
>> Hmm sorry I'm not sure. I just want to do a GET request from a site that
>> returns me JSON like I would using a web browser or a Python script where
>> I'm guessing the certificate side of things are already working.
>> On Sat, 5 Sep 2015 at 1:41 pm Joe Witt <email@example.com> wrote:
>>> It's quite common to interact with SSL services using 1-way or 2-way
>>> SSL. Are you just wanting to hit something with 1-way SSL? What
>>> happens when you try it?
>>> On Wed, Sep 2, 2015 at 3:32 PM, Chris Teoh <firstname.lastname@example.org> wrote:
>>> > Hi,
>>> > I'm still a little lost on how to do a GET on ssl sites. The standard
>>> > ssl
>>> > context controller configuration is baffling. Is there anyone that has
>>> > done
>>> > this? I'm trying to consume public internet ssl site.
>>> > Kind regards
>>> > Chris