A user does some cert update to their TAS foundation and Apply Changes fails with below error:
Running errand: clock_global/96######-8###-4###-a###-012######### (1) (TIME) Running errand 'smoke_tests': Expected task '123456' to succeed but state is 'error' L Error: Response exceeded maximum allowed length
As per the vm error mentioned in the above Introduction field, clock_global vm error logs will show:
Error: Get "https://SMOKES-APP-1######8-1###.apps.pcf.abc.abcd.com/json": tls: failed to verify certificate: x509: certificate is valid for *.apps.pcf.abc.abcd.com, *.apps.pcfprod.abc.abcd.com, not SMOKES-APP-1######8-1###.apps.pcf.abc.abcd.com
This means trust is broken between TAS and Bosh Director.
There are two common fixes for this issue, both should be considered: