phaniteja-24 / hudson-eclipse

Automatically exported from code.google.com/p/hudson-eclipse
0 stars 0 forks source link

HTTPS and self signed cert #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. use Hudson in a webserver with a self signed certificate, and non
standard port (ie not 443)
2. configure hudson plugin with base url : https://hudsonserver:8443/hudson
   this step is working. The plugins says "Valid url" (an older version of
the plugin failed on this step)
3. the projects defined in hudson are visible in the Hudson View
4. contextual click on a projet > select "Open in a brower" > error occured : 

hudsonserver:8443 uses an invalid security certificate.

The certificate is not trusted because it is self signed.

(Error code: sec_error_untrusted_issuer)

What version of the product are you using? On what operating system?

Eclipse JEE Europa Winter
Hudwon plugin 1.0.4

I have looked in the source : the class
dk.contix.eclipse.hudson.views.HudsonBrowser is delegating the "browser"
part to org.eclipse.swt.browser.Browser... 

Eclipse seems to be the one who didn't handle well self signed cert.

May be Browser have to be configured? Hudson accept sflf signed cert in his
preferences page (class dk.contix.eclipse.hudson.HudsonView : install an
EasyX509CerticateMgr..) but failed when try to use it... 

May be I have missed sth?

I have try to import the cert in the JVM used by eclipse, but it didn't work.

Original issue reported on code.google.com by jgrag...@free.fr on 15 May 2008 at 11:01

GoogleCodeExporter commented 9 years ago
You need to import the certificate into your browser, in this case it looks like
Firefox. It might be running under a different profile than your regular 
browser.

Original comment by jre...@gmail.com on 7 Apr 2009 at 4:13