File Formats for Certificates and Keys

The file format for certificates and keys may vary. Uniface uses the PEM (Privacy Enhanced Mail) format as specified by RFC 1421 for certificate files and key files. PEM encoding is a Base64 encoding with a header and footer and is also known as Base64 encoded DER.

PEM certificates and keys start and end with the markers:

-----BEGIN XXX----- 

-----END XXX----- 

where XXX is CERTIFICATE, RSA PRIVATE KEY, or something else that indicates the type of the data.

For mobile apps, a Java KeyStore is required to enable the app to be made available for download. For more information, see Create a Java Keystore .

Note:  If you have different types of certificate files and key files, you can use other tools such as OpenSSL to convert them to PEM files. (https://www.openssl.org/). OpenSSL is an open source project that provides a toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols and a general-purpose cryptography library.

Certificates can be concatenated with keys in a single file, and one or more CA certificates can be combined in a chain of trust, which can also be combined in a single file.