certutil crashes when using the --certVersion parameter The reason is the configuration code for the option, which says "doesn't take a parameter". When calling PORT_Atoi, certutil gets a NULL value for certutil.options[opt_CertVersion].arg and crashes.
Created attachment 8500633 [details] [diff] [review] patch v1
yes, that is a bug. When we use the option inside psm looks like by being the last option this bug does not get triggered. http://mxr.mozilla.org/mozilla-central/source/security/manager/ssl/tests/unit/psm_common_py/CertUtils.py#235