Removed trailing certificate stuff