Generating a test certificate for HTTPS.

Question:

How can I generate a test certificate for HTTPS?

Solution:

The HTTPS protocol is implemented in Elipse Mobile via a widely known library called OPENSSL.

To create a test certificate, open a command prompt as an Administrator.

Then go to the installation directory in Tools folder.

Run make_certificate.bat.

The program will request information to create the certificate. To accept the default value (at openssl.cfg file), just press Enter. You will need to input the address of the domain to be used. See the images below.

The certificate and the server’s private key are generated in the same folder. These files can be renamed.

Then, just add the certificate to Elipse Mobile Server. To set it up, open Settings menu.

Then, check the Enable secure connections option and import the file created in Tools folder.

 

 

The files are copied to the main folder. Delete the files generated in Tools folder, my_test_cert and my_test_privkey.key. Don’t share your private key with anyone. Restart the Server:

When the domain outlined in the certificate (in the example, https://thiago.elipse.com.br) is opened in the browser, a message is displayed informing you the certificate’s origin is suspect, which happens because the certificate is self-signed. After this message, proceed anyway.

 

From this moment on, the Elipse Mobile will be running in HTTPS. The data is encrypted on the internet even with the test certificate, and the server will no longer answer to the HTTP protocol. There are two exceptions: 1. When login is automatically redirected when the address doesn’t include HTTP; and 2. When downloading the certificate to be installed in the devices.

Print Friendly, PDF & Email

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Thoughts on “Generating a test certificate for HTTPS.

  1. Are there any specific requirements or configurations that need to be considered when implementing the PostgreSQL Library for Elipse E3, such as database server compatibility or network connectivity?

Leave a Reply

Your email address will not be published.Required fields are marked *