check if common name required before trying to create it