SslDomain.setCredentials

Set the certificate that identifies the local node to the remote.

This certificate establishes the identity for the local node. It will be sent to the remote if the remote needs to verify the identity of this node. This may be used for both SSL servers and SSL clients (if client authentication is required by the server).

@param certificateFile path to file/database containing the identifying certificate. @param privateKeyFile path to file/database containing the private key used to sign the certificate @param password the password used to sign the key, else null if key is not protected.

interface SslDomain
void
setCredentials
(,,
string password
)

Meta