'Replace HTTPS Certificate file path
:param https_cert: path to the new certificate file
:return: True on success, False on failure'

def change_https_cert(self, https_cert):

    if (https_cert == u''):
        self.HTTPS_CERT = u''
        return True
    if (os.path.normpath(self.HTTPS_CERT) != os.path.normpath(https_cert)):
        if makeDir(os.path.dirname(os.path.abspath(https_cert))):
            self.HTTPS_CERT = os.path.normpath(https_cert)
            sickrage.srCore.srLogger.info((u'Changed    https    cert    path    to    ' + https_cert))
        else:
            return False
    return True
