check certificate dialog