If the machine is compromised to the point where you can extract the key, the cert does very little since you already own the endpoint.
If the machine is compromised to the point where you can extract the key, the cert does very little since you already own the endpoint.