SSL Certificates

How to Configure the AppServer for Using SSL Certificates

How to Generate and Install Self-Signed SSL Certificates

How to Ignore SSL Security Warnings When Developing Your Applications

SSL is a cryptographic protocol that provides communications security over a computer network. It creates an encrypted connection between your web server and the web browser of your end users that allows secure transmission of any important personal data (like contact details and credit cards information).

SSL certificate is a data file that assigns a cryptographic key to the company’s details and binds together:

When installed on a web server, SSL certificates activate the https protocol and allow secure connections between a browser and this web server.

There are two kinds of SSL certificates - self-signed SSL certificates and trusted CA-signed SSL certificates.

Both kinds offer encryption, but they are not equally accepted by browsers.

Self-signed SSL certificates are issued by the same company or person who uses them. With a self-signed SSL certificate, you vouch your own identity, but this vouching is not supported by the trusted certificate authorities.

Trusted CA-signed SSL certificates are issued by trusted certificate authorities that are authorized to issue these certificates. Browsers trust these certificate authorities because:

Attention: You must use trusted CA-signed SSL certificates for production.

For development needs, you may use self-signed SSL certificates or go without them.

How to Configure the AppServer for Using SSL Certificates

For production purposes, you must use trusted CA-signed SSL certificates.

To configure the AppServer for using certain SSL certificates, please follow these steps.

Step 1. Buy a trusted SSL certificate from an authorized certificate authority.

Step 3. Open the configuration file - jetty-ssl-context.xml.

Step 5. Save the file.

By default, Lycia AppServer uses a self-defined SSL certificate for client connections.

As Google Chrome does not recognize self-signed certificates, it will show you the SSL warning:

This is an expected behavior for development and testing purposes.

How to Generate and Install Self-Signed SSL Certificates

For development & testing purposes, you may use self-signed SSL certificates or run applications without any security certificates.

There are many free tools for creating self-signed SSL certificates - e.g., Java's keytool, Adobe Reader, Apple's Keychain, and OpenSSL.

Below we explain how self-signed SSL certificates are generated and installed by the example of Lycia self-signed certificates.

To generate a self-signed SSL certificate, you need:

In our example, we use this Java configuration:

java -cp "C:\Program

Files\Querix\LyciaWebServer\jetty\lib\jetty-util9.3.7.v20160115.jar"

"C:\Program Files\Querix\Lycia\jetty\lib\jetty-util**********.jar"

C:\Program Files\Querix\LyciaWebServer\jetty\etc\jetty-sslcontext.xml

C:\Program Files\Querix\Lycia\jetty\etc\jetty-sslcontext.xml

How to ignore SSL security warnings when developing your applications

When you develop your applications, you usually test them without any security certificates.

--ignore-certificate-errors is a LyciaDesktop parameter that makes LyciaDesktop ignore error messages related to invalid SSL certificates.

When running applications via LyciaDesktop for production needs, you can set --ignore-certificate-errors in two ways:

When launching LyciaDesktop from the command line, you must launch it with --ignore-certificate-errors:

When launching LyciaDesktop by its icon, you must set --ignore-certificate-errors in its properties:

 

 

Contact Us

Privacy Policy

Copyright © 2026 Querix, (UK) Ltd.