Using Admin API over HTTPS

1 view
Skip to first unread message

Jason

unread,
Dec 28, 2009, 5:08:24 PM12/28/09
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Is it possible to use the Administrative API over HTTPS? I've build a
sample client using the examples in the documents going to 8443, but
am getting connection errors. I can't find anything in the
documentation on this, but all their examples are for port 8000. My
organization doesn't allow traffic to the appliances that isn't
secure, so if I'm going to use this API, I need to be able to connect
over HTTPS. Has anybody run into this? Is it even possible to use
HTTPS?

The error I'm getting in my stack trace is:

com.google.gdata.util.AuthenticationException: Error connecting with
login URI

Thanks in advance.

Jason

unread,
Dec 29, 2009, 11:48:30 AM12/29/09
to Google Search Appliance/Google Mini - Google Search Appliance/Google Mini
Nevermind, I figured it out. There is a constructor for the GsaClient
that has an additional field for specifying a different protocol.
Using that and loading my keystore got it to work perfectly.

Andrea

unread,
Aug 19, 2013, 4:42:46 AM8/19/13
to Google-Search-...@googlegroups.com, phillip...@principal.com
Could you please post a code example about ssl connection?
Reply all
Reply to author
Forward
0 new messages