Hi Patrick.

Glad you got it working. I had not heard of that bug before. I'm not using https, so I 
don't test
the https stuff myself. I just tried changing my keystore and got the same result you 
did. Good
for you figuring out the workaround.

Just checked the code of the preferences dialog, and the line that should update the 
keystore
simply isn't there. I'll make a note to fix it. If you want to fix it for yourself, 
look for the
updateConfiguration() method in PreferencesDialog. If you know Java at all, it should 
be pretty
obvious what to do.

--Rob


--- Patrick Lentz <[EMAIL PROTECTED]> wrote:

> Thanks Rob (and Dan) for the quick response -- that did the trick.  
> 
> I imported the server certificate into a keystore and pointed SJ at it.
> 
> HOWEVER - one note - SJ would not save my change to the keystore location in
> View->Preferences.  I had to modify the <KeyStore> element in
> ..\client\conf\clientconf.xml manually.  Is that something I can correct? Or
> is that a known issue?
> 
> Thanks again.
> 
> Patrick
> 
>  
> 
> Patrick Lentz
> 
> iXecute
> 
>  
> 
>  
> 
> -----Original Message-----
> From: Robert MacGrogan [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 25, 2004 5:48 PM
> To: Patrick Lentz
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: Re: SourceJammer connectivity question - running SJ on HTTPS host
> 
>  
> 
> This question has been answered before on the SJ users list, but that was
> before the messages were
> 
> archived on mail-archive, so it's not that easy to look up.
> 
>  
> 
> This was posted by Dan Williams earlier this year in response to a user who
> was having this exact
> 
> problem (thanks, Dan).
> 
>  
> 
> *****
> 
> Hi John,
> 
>  
> 
>  You need to import your server certificate as a trusted certificate in
> 
>  your keystore file.  From the SourceJammer main screen, if you follow
> 
>  the menu view->Preferences, click the Advanced tab, at the bottom of
> 
>  the screen will be the location of the keystore file sourcejammer is
> 
>  using.  You then need to use the java tool "keytool" to import your
> 
>  certificate into this keystore.  You can use the keystore specified in
> 
>  the preferences or create a new one, for sourcejammer (which is what I
> 
>  have done).  See help for the keytool command for more info on how
> 
>  import certificates/create keystore files.
> 
>  
> 
>  regards,
> 
>  Dan
> 
> *****
> 
>  
> 
> Hope this helps you out.
> 
>  
> 
> --Rob
> 
>  
> 
> --- Patrick Lentz <[EMAIL PROTECTED]> wrote:
> 
>  
> 
> > Hello.
> 
> > 
> 
> > We have a connectivity question when running the SJ server on an HTTPS/SSL
> 
> > host.  See the details below.
> 
> > 
> 
> > If not you, who can we contact to get this issue resolved?
> 
> > 
> 
> > We would appreciate any quick feedback on this.
> 
> > 
> 
> > Thanks!
> 
> > 
> 
> > We are very pleased with SourceJammer!
> 
> > 
> 
> >  
> 
> > 
> 
> > Patrick Lentz
> 
> > 
> 
> > CTO 
> 
> > 
> 
> > iXecute, Inc.
> 
> > 
> 
> > 770-856-9222
> 
> > 
> 
> > [EMAIL PROTECTED]
> 
> > 
> 
> >  
> 
> > 
> 
> >  
> 
> > 
> 
> > ** PROBLEM / QUESTION **
> 
> > 
> 
> > I've installed SourceJammer server on our RPM server.  However, we use
> HTTPS
> 
> > / SSL to get to the server. 
> 
> > 
> 
> > When I try to connect I get the errors below.  
> 
> > 
> 
> > If I test connectivity by going to
> 
> > https://rpm.ixecute.com/sourcejammer/servlet/rpcrouter via a browser, I
> get
> 
> > the message:
> 
> > 
> 
> > 
> 
> > SOAP RPC Router
> 
> > 
> 
> > 
> 
> > Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to
> me.
> 
> > 
> 
> > Am I doing something wrong?  Is there some configuration option(s) I'm not
> 
> > setting?
> 
> > 
> 
> > Do you know how I set up SourceJammer to make this work? 
> 
> > 
> 
> >  
> 
> > 
> 
> > Config:
> 
> > 
> 
> >  
> 
> > 
> 
> > 
> 
> > 
> 
> >  
> 
> > 
> 
> > Error trying to connect:
> 
> > 
> 
> >  
> 
> > 
> 
> >  and 
> 
> > 
> 
> >  
> 
> > 
> 
> > Stack trace:
> 
> > 
> 
> >  
> 
> > 
> 
> > org.sourcejammer.util.SourceJammerConnectionException: A problem occurred
> in
> 
> > communicating with the SourceJammer/SOAP server. Error opening socket:
> 
> > javax.net.ssl.SSLHandshakeException:
> 
> > sun.security.validator.ValidatorException: No trusted certificate found
> 
> > [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket:
> 
> > javax.net.ssl.SSLHandshakeException:
> 
> > sun.security.validator.ValidatorException: No trusted certificate found;
> 
> > targetException=java.lang.IllegalArgumentException: Error opening socket:
> 
> > javax.net.ssl.SSLHandshakeException:
> 
> > sun.security.validator.ValidatorException: No trusted certificate found]
> 
> > 
> 
> >             at org.sourcejammer.client.SOAPPortal.sendRequest(Unknown
> 
> > Source)
> 
> > 
> 
> >             at
> 
> > org.sourcejammer.client.gui.CommandCentral.connectToArchive(Unknown
> Source)
> 
> > 
> 
> >             at
> 
> > org.sourcejammer.client.gui.action.ConnectAction.makeConnection(Unknown
> 
> > Source)
> 
> > 
> 
> >             at
> 
> > org.sourcejammer.client.gui.action.ConnectAction.actionPerformed(Unknown
> 
> > Source)
> 
> > 
> 
> >             at
> 
> >
> org.sourcejammer.client.gui.action.ActionCentral$FireActionThread.run(Unknow
> 
> > n Source)
> 
> > 
> 
> > [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket:
> 
> > javax.net.ssl.SSLHandshakeException:
> 
> > sun.security.validator.ValidatorException: No trusted certificate found;
> 
> > targetException=java.lang.IllegalArgumentException: Error opening socket:
> 
> > javax.net.ssl.SSLHandshakeException:
> 
> > sun.security.validator.ValidatorException: No trusted certificate found]
> 
> > 
> 
> >             at
> 
> >
> org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.ja
> 
> > va:354)
> 
> > 
> 
> >             at org.apache.soap.rpc.Call.invoke(Call.java:248)
> 
> > 
> 
> >             at org.sourcejammer.client.SOAPPortal.sendRequest(Unknown
> 
> > Source)
> 
> > 
> 
> >             at
> 
> > org.sourcejammer.client.gui.CommandCentral.connectToArchive(Unknown
> Source)
> 
> > 
> 
> >             at
> 
> > org.sourcejammer.client.gui.action.ConnectAction.makeConnection(Unknown
> 
> > Source)
> 
> > 
> 
> >             at
> 
> > org.sourcejammer.client.gui.action.ConnectAction.actionPerformed(Unknown
> 
> > Source)
> 
> > 
> 
> >             at
> 
> >
> org.sourcejammer.client.gui.action.ActionCentral$FireActionThread.run(Unknow
> 
> > n Source)
> 
> > 
> 
> >  
> 
> > 
> 
> >  
> 
> > 
> 
> > 
> 
>  
> 
>  
> 
>  
> 
>                         
> 
> _______________________________
> 
> Do you Yahoo!?
> 
> Win 1 of 4,000 free domain names from Yahoo! Enter now.
> 
> http://promotions.yahoo.com/goldrush
> 
> 



                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
SourceJammer-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sourcejammer-users

Reply via email to