Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug 842064: Fix build bustage caused by expired certificates in test_…

…signed_apps.js on a CLOSED TREE, a=bustage, a=testonly

--HG--
extra : source : ff193fc3dc7d37db4081dd95f1f1aa8e3551d527
  • Loading branch information...
commit 9edfaebb30d26c0f375e8bf983bfdeb0a8425b18 1 parent bce07ff
@briansmith briansmith authored
View
4 security/manager/ssl/tests/unit/test_signed_apps/generate.sh
@@ -39,7 +39,7 @@ sign_app_with_new_cert()
db=$tmpdir/$label
mkdir -p $db
certutil -d $db -N -f $passwordfile
- make_cert="certutil -d $db -f $passwordfile -S -v 3 -g 2048 -Z SHA256 \
+ make_cert="certutil -d $db -f $passwordfile -S -v 480 -g 2048 -Z SHA256 \
-z $noisefile -y 3 -2 --extKeyUsage critical,codeSigning"
$make_cert -n ca1 -m 1 -s "$ca_subj" \
--keyUsage critical,certSigning -t ",,CTu" -x < $ca_responses
@@ -75,5 +75,3 @@ replace_zip $srcdir/unsigned.zip $srcdir/simple
sign_app_with_new_cert trusted $srcdir/unsigned.zip $srcdir/valid.zip
sign_app_with_new_cert untrusted $srcdir/unsigned.zip $srcdir/unknown_issuer.zip
certutil -d $tmpdir/trusted -f $passwordfile -L -n ca1 -r -o $srcdir/trusted_ca1.der
-
-rm -Rf $tmpdir
View
BIN  security/manager/ssl/tests/unit/test_signed_apps/trusted_ca1.der
Binary file not shown
View
BIN  security/manager/ssl/tests/unit/test_signed_apps/unknown_issuer.zip
Binary file not shown
View
BIN  security/manager/ssl/tests/unit/test_signed_apps/valid.zip
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.