Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minor formatting fixes.

By default, all the requests to AppServer are sent over HTTP protocol. In order to configure secure SSL connection, you need to enable SSL for AppServer as described here.

1. Before making with 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: < <WebSpellChecker_Installation_Path>/AppServer/AppServerX.xml

...

Code Block
languagexml
themeEmacs
		<!-- 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.

Code Block
languagexml
themeEmacs
<EnableSSL>true</EnableSSL>

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

Code Block
languagexml
themeEmacs
<!--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, use the SSLCertificatePassword tag to provide a password.  

Code Block
languagexml
themeEmacs
<SSLCertificatePassword>your_certificate_password</SSLCertificatePassword>

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