certutil return code does not indicate error

RESOLVED WORKSFORME

Status

NSS
Tools
P3
normal
RESOLVED WORKSFORME
17 years ago
17 years ago

People

(Reporter: Sonja Mirtitsch, Assigned: Sonja Mirtitsch)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

17 years ago
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"
(Assignee)

Updated

17 years ago
Priority: -- → P3
Target Milestone: --- → 3.3

Comment 1

17 years ago
Assigned the bug to Bob.
Assignee: wtc → relyea

Comment 2

17 years ago
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
(Assignee)

Comment 3

17 years ago
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
(Assignee)

Comment 4

17 years ago
I can't reassign the bug to myself???
Assignee: relyea → sonmi
Status: ASSIGNED → NEW

Comment 5

17 years ago
No you did it. It's assigned to you.

bob
(Assignee)

Comment 6

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