Make sure the certificate name is unique

Ticket: #6375
Ticket: #6370