======set_cert_key====== WMMEGA FW >= 2.1198 Set a custom certificate for TLS ====Description==== set_cert_key ( string $key, string $cert ) This function lets you use a custom certificate for HTTPS transactions. ====Parameter==== $key: The contents of the PEM key file $cert: The contents of the CRT file ====Return Values==== int - 0 for success or else the failure code ====Example==== This example assumes you have two files obtained from your certificate provider and have uploaded them into a /cert/ subfolder on the SD card.