You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

By default, all the requests to AppServer are sent over HTTP protocol. To configure secure SSL connection, you need to enable SSL for AppServer as described in this section.

1. Before making any changes, it is recommended to stop AppServer

2. Locate the AppServerX.xml configuration file in the WebSpellChecker installation folder on your server. The default path to AppServerX.xml file is  <WebSpellChecker_Installation_Path>/AppServer/AppServerX.xml

3. Scroll down to the section with parameters responsible for secure connection: <SSL>...</SSL>.

		<!-- Secure connection -->
		<SSL>
			<EnableSSL>false</EnableSSL>
			<!-- Transport Layer Security (TLS) version. Possible values: TLSV1, TLSV1_1, TLSV1_2 -->
			<TLSVersion>TLSV1_2</TLSVersion>
			<!--For Linux: path to certificate file (PEM format). Path example: /opt/WSC/AppServer/cert.pem -->
			<!--For Windows: path to PKCS #12 (*.pfx) file containing the certificate and corresponding private key. Path example: C:/Program Files/WebSpellChecker/AppServer/certificate.pfx -->
			<SSLCertificateFile></SSLCertificateFile>
			<!--For Linux only. Path to private key file (PEM format). Path example: /opt/WSC/AppServer/key.pem -->
			<SSLCertificateKeyFile></SSLCertificateKeyFile>
			<!--Certificate Export Password. Leave empty if you don't have password -->
			<SSLCertificatePassword>your_certificate_password</SSLCertificatePassword>
		</SSL>

4. Change the default value for the EnableSSL parameter to true.

<EnableSSL>true</EnableSSL>

5. Specify path to your certificate file (*.pfx or *.pem) in the SSLCertificateFile parameter.

<!--For Linux: path to certificate file (PEM format). Path example: /opt/WSC/AppServer/cert.pem -->
<!--For Windows: path to PKCS #12 (*.pfx) file containing the certificate and corresponding private key. Path example: C:/Program Files/WebSpellChecker/AppServer/certificate.pfx -->
<SSLCertificateFile></SSLCertificateFile>
<!--For Linux only. Path to private key file (PEM format). Path example: /opt/WSC/AppServer/key.pem -->
<SSLCertificateKeyFile></SSLCertificateKeyFile>

6. If your SSL certificate is password-protected, type the certificate password in the SSLCertificatePassword tag.

<SSLCertificatePassword>your_certificate_password</SSLCertificatePassword>

7. As soon as the modifications are completed, start AppServer for the changes to take effect.

  • No labels