new convertet and new logic for certificate name