That message usually indicates that there is something wrong with the certificate. Usually it's the Common Name (CN) that's wrong. Another common error is the Country field. The Country field needs to be the 2 character code for your country.
Michael K. Bromley, CVE, CCENT, WCNA, VCA-DCV Technical Lead Infrastructure Technical Support Center