fix ssl certificate issue + update output template