Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Simplify steps with AppServer Stop and Start.

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  Before making with any changes, it is recommended to stop AppServer.

...

titleClick to see how to stop AppServer on a Windows server ...

 

2

...

titleClick here to see how to stop AppServer on a Linux server ...

...

Step 2. Setup SSL in AppServer Configuration File

1. 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

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

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>

34. Change the default value for the EnableSSL parameter to True.

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

45. 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>

56. 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 the changes to take effect.

...

.

...

titleClick here to see how to start AppServer on a Linux server ...

...