log certificate issues or broken metadata as error, show metadata url when it is broken