Add certificate query automation.