Switch out the key/cert in a critical section (mutex wrapped). This will prevent...