Generating a Test Certificate for the HTTPS Protocol

<< Click to Display Table of Contents >>

 

Generating a Test Certificate for the HTTPS Protocol

The HTTPS protocol is implemented in Elipse Mobile Server using the OpenSSL library. To create a test certificate, follow these procedures.

1.Open a Windows Command Prompt as an Administrator.

2.Go to the Tools folder on Elipse Mobile Server installation.

3.Execute the make_certificate.bat script.

4.This script requests some information to create a certificate. To accept the default values found on file openssl.cfg, shown in brackets for each field, type ENTER. The domain name must be informed.

5.The certificate, a file with a .crt extension, and the server's private key, a file with a .key extension, are generated on the same folder. These files can be renamed.

6.Add this newly created certificate to Elipse Mobile Server. To do so, right-click its icon on Windows Notification Area and select the Settings option.

7.On the Settings tab, select the Enable secure connections option and import the certificate and private key files in the Security certificate (.crt) and Private key (.key) fields, respectively.

8.These files are then copied to the main folder. Delete the files created on the Tools folder and restart the server.

 

NOTE

Keep the private key in a secure location.

 

9.When opening the domain indicated in the certificate in a browser, a message is displayed indicating that the certificate is suspicious because it is self-signed. To proceed, click Advanced.

 

From now on, Elipse Mobile Server is already executing over HTTPS protocol. Information is encrypted while passing through the Internet even with this test certificate, and the server does not respond to the HTTP protocol anymore. The exceptions to this behavior are when the login is automatically redirected if the typed address does not contain the HTTP protocol and when downloading the certificate for installation on mobile devices.

Was this page useful?