After generating a digital certificate
for the CA, the server, and the client (optional), you must identify
for the OpenSSL client application one or more CAs that are to be
trusted. This list is called a
trust list.
If there is only one
CA to trust (for example, Proton CA), in the client application, use
the SSLCALISTLOC= option to specify the name of the file that contains
the CA digital certificate, which was created in Step 2.
If multiple CAs are
to be trusted by the client application, use the UNIX
cat
command
to concatenate the contents of all the digital certificates for CAs.
All the certificates must be encoded in PEM format and in ASCII format.
As an alternative method
for creating a CA trust list, use this template to copy and paste
the digital certificates into one file:
Certificate for Proton CA
-----BEGIN CERTIFICATE-----
<PEM encoded certificate>
-----END CERTIFICATE-----
Certificate for Keon CA
-----BEGIN CERTIFICATE-----
<PEM encoded certificate>
-----END CERTIFICATE-----
Certificate for Microsoft CA
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
Because the digital
certificate is encoded, it is unreadable. Therefore, the content
of the digital certificate in this example is represented as
<PEM
encoded certificate>
. The content of each digital
certificate is delimited using a
-----BEGIN CERTIFICATE-----
and
-----END
CERTIFICATE-----
pair. All text outside the delimiters
is ignored. Therefore, you might not want to use delimited lines for
descriptive comments. In the preceding template, the file that is
used contains the content of digital certificates for the CAs: Proton,
Keon, and Microsoft.