close sertificates