Extract common name from subject when generating certificate list