[ Version ( since = "2.48" ) ]
public bool set_ssl_cert_file (string ssl_cert_file, string ssl_key_file) throws Error
Sets this up to do https, using the SSL/TLS certificate specified by ssl_cert_file
and
ssl_key_file
(which may point to the same file).
Alternatively, you can set the tls_certificate property at construction time, if you already have a TlsCertificate.
this |
a Server |
ssl_cert_file |
path to a file containing a PEM-encoded SSL/TLS certificate. |
ssl_key_file |
path to a file containing a PEM-encoded private key. |
success or failure. |