The certificate to be accepted from the server when connecting using TLS/SSL.
If using a TLS/SSL connection, this property can be used to specify the TLS/SSL certificate to be accepted from the server. Any other certificate that is not trusted by the machine is rejected.
This property can take the following forms:
|A full PEM Certificate (example shortened for brevity)||-----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE-----|
|A path to a local file containing the certificate||C:\cert.cer|
|The public key (example shortened for brevity)||-----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY-----|
|The MD5 Thumbprint (hex values can also be either space or colon separated)||ecadbdda5a1529c58a1e9e09828d70e4|
|The SHA1 Thumbprint (hex values can also be either space or colon separated)||34a929226ae0819f2ec14b4a3d904f801cbb150d|
If not specified, any certificate trusted by the machine is accepted.
Certificates are validated as trusted by the machine based on the System's trust store. The trust store used is the 'javax.net.ssl.trustStore' value specified for the system. If no value is specified for this property, Java's default trust store is used (for example, JAVA_HOME\lib\security\cacerts).
Use '*' to signify to accept all certificates. Note that this is not recommended due to security concerns.