Fix "Ignore bad signature certificates with message"
Append loaded_certificate in the try block, so it does not result with "UnboundLocalError: local variable 'loaded_certificate' referenced before assignment"
Append loaded_certificate in the try block, so it does not result with "UnboundLocalError: local variable 'loaded_certificate' referenced before assignment"