Changes for page Setting up Your Own Server
Last modified by Alexander Schulz-Rosengarten on 2023/07/11 10:33
To version 7.1
edited by uru
on 2013/12/04 01:10
on 2013/12/04 01:10
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. msp1 +XWiki.uru - Content
-
... ... @@ -1,5 +3,3 @@ 1 -Using the public server that is provided by the KIELER project may introduce a significant latency to the layout process, depending on the size and structure of the models you are using and the type of internet connection you have. Another aspect is confidentiality. You may not want to send your models to a public server, even if the connection is being secured by HTTPS. For these reasons you may want to set up your own server that is providing layout in your internal network. In the following we will take a look at what it takes to set up the server in your environment and how you can configure it to your needs. 2 - 3 3 = Download and Installation = 4 4 5 5 If you want to use service-based layout inside your network, you can download the latest build of the server that fits to your platform from ... ... @@ -32,8 +32,7 @@ 32 32 The next step is to decide which //service variants// you want to provide. There are three of them: 33 33 34 34 * SOAP over HTTP, 35 -* SOAP over HTTPS, and 36 -* jETI. 33 +* SOAP over HTTPS 37 37 38 38 As the following listing shows, you can define the variants to be published by the server in the provider configuration. In the given example, SOAP over HTTP and jETI are available: 39 39 ... ... @@ -44,11 +44,9 @@ 44 44 # Use this option to configure whether the JAXWS layout will be published HTTPS based 45 45 de.cau.cs.kieler.kwebs.jaxws.publishHttps=false 46 46 47 -# Use this option to configure whether the layout will be published jETI based 48 -de.cau.cs.kieler.kwebs.publishJeti=true 49 49 {{/code}} 50 50 51 -The next step is to define how the variants are being published. All variants per default only accept requests from {{code language="none"}}localhost{{/code}}. In order to make them publicly available you need to configure from which IPs the variants are accepting requests from. You can also define the port a variant is listening on and the HTTP context it is bound to. In the following example they are accepting requests from {{code language="none"}}0.0.0.0{{/code}}, meaning that they accept incoming requests from any client. The SOAP over HTTP variant is bound to port {{code language="none"}}8442{{/code}} and the context {{code language="none"}}layout{{/code}}. You cannot define a context for the jETI variant due to the proprietary nature of the transport protocol jETI uses.46 +The next step is to define how the variants are being published. All variants per default only accept requests from {{code language="none"}}localhost{{/code}}. In order to make them publicly available you need to configure from which IPs the variants are accepting requests from. You can also define the port a variant is listening on and the HTTP context it is bound to. In the following example they are accepting requests from {{code language="none"}}0.0.0.0{{/code}}, meaning that they accept incoming requests from any client. The SOAP over HTTP variant is bound to port {{code language="none"}}8442{{/code}} and the context {{code language="none"}}layout{{/code}}. 52 52 53 53 {{code language="bash"}} 54 54 # Use this option to configure the address, port and context under ... ... @@ -55,13 +55,6 @@ 55 55 # which the SOAP variant will be published over HTTP 56 56 de.cau.cs.kieler.kwebs.jaxws.httpAddress=http://0.0.0.0:8442/layout 57 57 58 -# Use this option to configure the address under which the jETI 59 -# variant will be published 60 -de.cau.cs.kieler.kwebs.jeti.server.hostname=0.0.0.0 61 - 62 -# Use this option to configure the port under which the jETI 63 -# variant will be published 64 -de.cau.cs.kieler.kwebs.jeti.connector.sepp.port=9867 65 65 {{/code}} 66 66 67 67 If you decide to publish the SOAP over HTTPS variant you need a server certificate in order to secure the connection. While a certificate that has been officially signed by a Certificate Authority (CA) is preferable, the server provides a java key store containing a self signed certificate. It is located in the folder {{code language="none"}}server/kwebs/security/keystores{{/code}} beneath the root directory of your server installation, the name of the key store is {{code language="none"}}server.jks{{/code}}. Furthermore, due to the nature of the SSL-implementation of the java platform, the server provides the corresponding client trust store that clients can use to add the server certificate to the list of certificates the java runtime implicitly trusts ({{code language="none"}}client.jks{{/code}}). The server also contains a script ({{code language="none"}}GenerateCertsAndKeystores.sh{{/code}}) that allows you to generate these by yourself. You can find it in the folder {{code language="none"}}server/cmd{{/code}} beneath the root directory of your server installation. The script requires the presence of OpenSSL ([[http:~~/~~/www.openssl.org/>>url:http://www.openssl.org/||shape="rect"]]). While it is generally already installed on Linux platforms, for a Windows based server you need to download and install the OpenSSL toolkit ([[http:~~/~~/www.openssl.org/related/binaries.html>>url:http://www.openssl.org/related/binaries.html||shape="rect"]]).
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -86512 961 +8651412 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/86512 96/Setting up Your Own Server1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/8651412/Setting up Your Own Server