How do I remove deprecated certificates?
如何删除已弃用的证书？
To remove deprecated certificates, remove the old certificate from the vault certificates list. Leave all the certificates that you want to remain on your computer in the list. This doesn't remove the certificate from all your VMs. It also doesn't add the certificate to new VMs that are created in the Virtual Machine Scale Set.
To remove the certificate from existing VMs, use a custom script extension to manually remove the certificate from your certificate store.
若要删除已弃用的证书，请从保管库证书列表中删除旧证书。 在列表中留下想要在计算机上保留的所有证书。 这不会删除所有虚拟机中的证书。 也不会向虚拟机规模集中创建的新 VM 添加证书。
若要从现有 VM 中删除证书，请使用自定义脚本扩展从证书存储中手动删除证书。