[xwiki-users] Setting up Xwiki for HTTPs
Hey All. So I found some documentation on setting up jetty with SSL/HTTPs I have done this with Apache in an wamp environment, but because I wanted to test xwiki out of the box I am using just the full packaged installed product. The site I found discussed on how to generate a keystore, and I have done that, I am not worried about CSR at this point because its for testing purposes. So now that I have a keystore in hand i open up the jetty config xml and it says to set up a SSL connection i need to run the following command. java -jar start.jar etc/jetty.xml etc/jetty-ssl.xml and that I should look in the jetty-ssl.xml file, which is non existent. Do you have any advice as to where to point me on this. The reason that I am coming here is because I am in a time crunch to get this done asap. any and all help will be greatly appreciated -- View this message in context: http://xwiki.475771.n2.nabble.com/Setting-up-Xwiki-for-HTTPs-tp5663073p56630... Sent from the XWiki- Users mailing list archive at Nabble.com.
So I now understand what that comman does, much like the start wiki script which is what it calls. But I dont have a Jetty-ssl.xml file, So no need to touch on the start command, but I still need help configuring the container to accept the SSL connection. Thanks -- View this message in context: http://xwiki.475771.n2.nabble.com/Setting-up-Xwiki-for-HTTPs-tp5663073p56630... Sent from the XWiki- Users mailing list archive at Nabble.com.
I have set up jetty to serve ssl connections before, I didn't have to do anything to XWiki, it worked ok "out of the box". The only problem which I could imagine once you get the servlet container working is that some of your links point to http://yourwiki instead of https://yourwiki. This can be fixed by setting xwiki.url.protocol in your xwiki.cfg file. see: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration Caleb On 10/22/2010 12:00 PM, mbryant wrote:
Hey All.
So I found some documentation on setting up jetty with SSL/HTTPs
I have done this with Apache in an wamp environment, but because I wanted to test xwiki out of the box I am using just the full packaged installed product.
The site I found discussed on how to generate a keystore, and I have done that, I am not worried about CSR at this point because its for testing purposes.
So now that I have a keystore in hand i open up the jetty config xml and it says to set up a SSL connection i need to run the following command.
java -jar start.jar etc/jetty.xml etc/jetty-ssl.xml
and that I should look in the jetty-ssl.xml file, which is non existent.
Do you have any advice as to where to point me on this. The reason that I am coming here is because I am in a time crunch to get this done asap.
any and all help will be greatly appreciated
On 10/22/2010 06:00 PM, mbryant wrote:
Hey All.
So I found some documentation on setting up jetty with SSL/HTTPs
I have done this with Apache in an wamp environment, but because I wanted to test xwiki out of the box I am using just the full packaged installed product.
The site I found discussed on how to generate a keystore, and I have done that, I am not worried about CSR at this point because its for testing purposes.
So now that I have a keystore in hand i open up the jetty config xml and it says to set up a SSL connection i need to run the following command.
java -jar start.jar etc/jetty.xml etc/jetty-ssl.xml
and that I should look in the jetty-ssl.xml file, which is non existent.
Do you have any advice as to where to point me on this. The reason that I am coming here is because I am in a time crunch to get this done asap.
any and all help will be greatly appreciated
You don't need a jetty-ssl.xml file at all. If the document that you were reading is http://docs.codehaus.org/display/JETTY/How+to+configure+SSL , then just read step 4 and add the new connector configuration inside jetty/etc/jetty.xml, under the existing connector (line 57). -- Sergiu Dumitriu http://purl.org/net/sergiu/
participants (3)
-
Caleb James DeLisle -
mbryant -
Sergiu Dumitriu