Fixing bad reference and linking certificates.