SSLCertificateFile "C:/SAGE/WebREFJULIET/WebTools/SOFTS/HTTPD/conf/server.crt"
# Server Private Key:
SSLCertificateKeyFile "C:/SAGE/WebREFJULIET/WebTools/SOFTS/HTTPD/conf/server.key"
The certificate (.crt) and the private key (.key) files are located in:
The server.crt and .key files delivered by default are test files delivered by the Apache foundation.
The server.crt file is not certified by a Certification Authority and therefore is not recognized (i.e. validated) by browsers.
In order to configure correctly the SSL protocol, the user must generate a private key file (server.key), send a certificate request (server.crt) to a Certification Authority then replace the existing files and keep the same name.
When a patch is installed on an X3WEB server, server.crt and server.key files should be saved and copied after the installation of the patch.
The Verisign certification authority (http://www.verisign.fr) offers a free SSL certificate for a limited amount of time.
The following paragraph explains the procedure in order to:
For further information, see Verisign's instruction.
http://www.verisign.fr/support/ssl-certificate-support/page_fr_fr_dev019500.html
The « openssl » utility (http://www.openssl.org) can be used to generate the key and the Certificate Signature Request (CSR).
Download OpenSSL (on Windows).
http://www.openssl.org/related/binaries.html
1. Install 'Visual C++ 2008 Redistributables'
2. Install 'Win32 OpenSSL v0.9.8j Light' oo 'Win64 OpenSSL v0.9.8j Light'
3. Use the \OpenSSL\Bin\openssl.exe command
openssl genrsa -des3 1024 > verisign.key
See the genrsa documentation
http://www.openssl.org//docs/apps/genrsa.html
openssl req -new -key verisign.key verisign.csr
See the genrsa documentation
http://www.openssl.org//docs/apps/genrsa.html
1. Enter the private key's password
2. Enter the information on certificate
Enter the name of the Fully Qualified Domain Name (or FQDN) of the server when OpenSSL requests the Common Name (e.g., USER name).
If the user generates a CSR for a website which URL is https://www.mysite.com/, the FQDN will be www.mysite.com
Usually, a certificate per Fully Qualified Domain Name is bought.
Generate an auto-signed certificate
This certificate does not need to be signed by an authentication authority by it is not recognized by the browser. Use the following command:
openssl req -x509 -key verisign.key -in verisign.csr > verisign.crt
Open the following URL http://www.verisign.fr/ssl/index.html and click on 'Free trial'.
1. Fill out the Request form
2. Fill out the Technical contact form
3. Fill out the Certificate form
5. The certificate must be sent by email
6. Upon reception of the certificate
Copy the files verisign.key and verisign.crt and keep the passwords.
Copy/Replace the files verisign.key and verisign.crt under server.key and server.crt in the WebTools\SOFTS\HTTPD\conf\ directory
The XTEND applications use the HTTPS port.
Check that the console parameters ALL.Apache.APACHESSL that activate the SSL mode of the Apache server has the value yes
The HTTP and HTTPS ports that give access to XTEND applications are given by the parameters xtend.server.gensetup.http.defhttpport and xtend.server.gensetup.http.defhttpsport.
These parameters must be entered.
The grid displays the configuration parameters of the XTEND server that can be accessed via the console (advanced setup).
Parameter | Default value | Description |
xtend.session.trace.xtend | off | XTEND session log file |
xtend.session.trace.httpreq | off | HTTP requests' log-file |
xtend.session.trace.wsvc | off | Web service log file |
xtend.session.wait.timeout | 1500 | Waiting time timeout in ms for an XTEND request if the session is busy (processing another request, for instance) |
xtend.server.data.localpath | /data/local | Http alias to access the X3WEB server local resources (see httpd.conf) |
xtend.server.data.protectdir | x_protect | Identification of XTEND folders that are protected |
xtend.server.reposit.local | off | Location of the XTEND dictionary and other xml data published by XTEND |
xtend.server.menux3.local | off | Location of X3 menus (see xtend.server.reposit.local) |
xtend.server.x3httpsrv.secured | off | Http/https protocol to the solutions' Http server |
xtend.server.x3httpsrv.readtimeout | 30000 | Timeout (in ms) for the reading of a resource on the solution's Http server |
xtend.server.x3httpsrv.cnxtimeout | 30000 | Timeout (ms) for the connection to the solution's Http server |
xtend.server.activitylog.level | 1 | Activity tracking - Log file level - 0: off - 1: Normal - 2: Verbose |
xtend.server.activitylog.filenumber | 10 | Activity tracking - Number of log files |
xtend.server.activitylog.filesize | 10000000 | Activity tracking - Log file's size in octets |
xtend.server.virtualpath.context | /xtend | XTEND web application path |
xtend.cxtdtracesvc.trace.server.host | Hostname of the log file server | |
xtend.cxtdtracesvc.trace.server.port | 1515 | Log file server TCP port |
xtend.cxtdtracesvc.tracesvc.canal.level | 9 | Level of the log file server |
xtend.cxtdtracesvc.tracesvc.canal.name | SXTD | Prompt of the log file server |
xtend.cxtdtracesvc.tracesvc.canal.on | off | Active log file |
xtend.cxtdtracesvc.tracesvc.on | off | Active log file |
xtend.server.gensetup.defsite.x3sol |
| Default X3 solution code if it has not been specified in the URL |
xtend.server.gensetup.defsite.x3fldr |
| Default X3 folder code if it has not been specified in the URL |
xtend.server.gensetup.defsite.xtdsite |
| Default XTEND site code if it has not been specified in the URL |
xtend.server.gensetup.deflang |
| Default XTEND language code if it has not been specified in the URL |
xtend.server.gensetup.http.defhttpport | 28880 | HTTP port of the XTEND server |
xtend.server.gensetup.http.defhttpsport | 28443 | HTTPS port of the XTEND server |
xtend.server.gensetup.http.cookie.sess.persist | on | Persistence of cookies on the user workstation (on/off) |
xtend.server.gensetup.http.cookie.disabled | off | Indicates if XTEND must work without cookies |
xtend.server.gensetup.http.session.timeout | 60 | TOMCAT session maximum inactivity time |
xtend.server.gensetup.http.askreferer | on | Request of the referred http if it is not displayed in the HTTP headers |
xtend.server.gensetup.proxies.hosts | Hostnames of reverse proxies which access XTEND - names separated by 'blanks' | |
xtend.server.gensetup.proxies.portshttp | HTTP ports of reverse proxies which access XTEND - names separated by 'blanks' | |
xtend.server.gensetup.proxies.portshttps | HTTPS ports of reverse proxies which access XTEND - names separated by 'blanks' | |
xtend.server.gensetup.html.req.charset | utf-8 | Decoding of the http response (used for the encoding of input fields) |
xtend.server.gensetup.html.resp.charset | utf-8 | Encoding of the HTTP response |
xtend.server.gensetup.html.chunked | off | on: to activate the chunked mode (package) |
xtend.server.gensetup.html.buffersize | 0 | Buffer size for the http response |
xtend.server.gensetup.misc.rtnstacksize | 20 | Maximum number of elements in the pages queue for the management of the return action (ADLKRETURN) |
xtend.server.gensetup.defcharset | CP1252 | Default charset for the reading of text resources (platform's default Charset) |