Configure for the client certificate
You configure your application to use the client certificate generated. For production systems, you add the configuration details to fglprofile.
You have generated a client certificate as described in Create the client certificate.
In this task you add the certificate information to the fglprofile.
Add the client's security configuration to fglprofile.
The client security entry defines the certificate and the associated private key used by the
Genero Web Services client during an HTTPS communication. The security entry must be defined with an
unique identifier (id1 in this
example).
security.id1.certificate = "MyClient.crt"
security.id1.privatekey = "MyClient.pem"
Note: If
the private key is protected with a password, you must remove it or create a script that returns the
password on demand. See Create the client certificate.
Create the client's certificate authority
list by saving the HTTPS server certificate to disk and creating a CA list from this. Then set the
global certificate authority list (security.global.ca
) in your
fglprofile. See Configure for the certificate authority list.