'Replace HTTPS Key file path
:param https_key: path to the new key file
:return: True on success, False on failure'

def change_https_key(self, https_key):

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