Closed Bug 68755 Opened 24 years ago Closed 23 years ago

certutil return code does not indicate error

Categories

(NSS :: Tools, defect, P3)

Sun
Solaris
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: sonja.mirtitsch, Assigned: sonja.mirtitsch)

Details

When calling certutil with an incorrect formated address (the first comma was
missing -> certutil ... -s "CN=xxx O=YYYY.... instead of certutil ... -s
"CN=xxx, O=YYY) it exited with a returncode of 0 not indicating a failure to QA
script

***** Creating Server CA Issued Certificate for kentuckyderby.red.iplanet.com *****
cert.sh: Creating kentuckyderby.red.iplanet.com's Server Cert
certutil -s "CN=kentuckyderby.red.iplanet.com O=BOGUS Netscape, L=Mountain View,
ST=California, C=US" -S -n kentuckyderby.red.iplanet.com -c TestCA -t Pu,Pu,Pu
-m 1 -d
/h/hs-sca15c/export/builds/mccrel/nss/nsstip/builds/20010213.1/y2sun2_Solaris8/mozilla/tests_results/security/kentuckyderby.21/server
-f /tmp/tests.pw.29602 -z /tmp/tests_noise.29602 -v 60
certutil -s: improperly formatted name: "CN=kentuckyderby.red.iplanet.com
O=BOGUS Netscape, L=Mountain View, ST=California, C=US"
Priority: -- → P3
Target Milestone: --- → 3.3
Assigned the bug to Bob.
Assignee: wtc → relyea
Sonia, I can't seem to reproduce this:

certutil -s "CN=kentuckyderby.red.iplanet.com O=BOGUS" Netscape, L=Mount,
ST=California, C=US -S -n kentuckyderby.red.iplanet.com -x -t Pu,Pu,Pu . -v 60
certutil -s: improperly formatted name: "CN=kentuckyderby.red.iplanet.coS"
jordan(262) echo $?
255

return value is still 255 (-1).

bob
I will try to reproduce it, in the meantime I assign the bug to myself... The
thing I noticed is that I tried on Solaris and you tried on AIX.
Status: NEW → ASSIGNED
I can't reassign the bug to myself???
Assignee: relyea → sonmi
Status: ASSIGNED → NEW
No you did it. It's assigned to you.

bob
verified, works. There was a bug in the script
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.