Adding certificates parsing and some std_output changes