Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » Hudson with HTTPS
Hudson with HTTPS [message #1047720] Tue, 23 April 2013 15:05 Go to next message
Frederic Filiatrault is currently offline Frederic FiliatraultFriend
Messages: 8
Registered: April 2013
Junior Member
Hey guys,

Maybe a stupid question but I googled a lot and did not find a way to make HTTPS works with Hudson.

I did create my certificate using Step 1 to 4 from

http://www.akadia.com/services/ssh_test_certificate.html

and following this :

http://wiki.hudson-ci.org/display/HUDSON/Starting+and+Accessing+Hudson

Then, I added these start parameters in the service properties tab (Under Windows) :

hudson.exe --httpPort=-1 --httpsPort=19443 --httpsKeyStore=winstone.ks --httpsKeyStorePassword=....

But it does not seems as Hudson is taking the parameters (still working on port 8080).

I also added in the <arguments> field of the hudson.xml but it does not seem to take it in account. Any suggestions?

[Updated on: Tue, 23 April 2013 15:07]

Report message to a moderator

Re: Hudson with HTTPS [message #1047729 is a reply to message #1047720] Tue, 23 April 2013 15:13 Go to previous messageGo to next message
Frederic Filiatrault is currently offline Frederic FiliatraultFriend
Messages: 8
Registered: April 2013
Junior Member
Finally, it worked correctly. I add an issue with the path of the winstone.ks.

Parameters should be added in the hudson.xml as :

<executable>java</executable>
<arguments>-Xrs -Xmx512m -XX:MaxPermSize=256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\hudson.war" --httpPort=-1 --httpsPort=19443 --httpsKeyStore=C:/Users/hudsonUser/.hudson/winstone.ks --httpsKeyStorePassword=....</arguments>

Hope this thread will be useful for other people who wants to configure it under HTTPS. Good luck

Re: Hudson with HTTPS [message #1047787 is a reply to message #1047729] Tue, 23 April 2013 16:43 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
Frederic, thanks for the notes. I believe this is for Hudson 2.x not for 3.x right?

Winston Prakash
Eclipse Hudson team
Re: Hudson with HTTPS [message #1498052 is a reply to message #1047787] Thu, 04 December 2014 06:28 Go to previous messageGo to next message
Mahesh Gowda is currently offline Mahesh GowdaFriend
Messages: 9
Registered: August 2013
Junior Member
Hi Prakash,

could you please give me the steps i need to follow for hudson with HTTPS for ver 3.2.

hudson 3.2 ,apache tomcat 7.0.26

Regards,
Mahesh
Re: Hudson with HTTPS [message #1506389 is a reply to message #1498052] Wed, 10 December 2014 20:37 Go to previous message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
Since you are using Tomcat you have to follow Tomcat documentation to setup HTTPS. Try this link http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html

Winston Prakash
Eclipse Hudson team
Previous Topic:"Build when Maven dependencies have been updated" uses transitive dependencies?
Next Topic:GIT - clean checkout fails
Goto Forum:
  


Current Time: Fri Apr 26 06:17:13 GMT 2024

Powered by FUDForum. Page generated in 0.03465 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top