set default RHUI entitlement cert filename
fix a bug that 'fi' (end of if statement in sh) was located wrong place in rewrite macro and it causes sh syntax error