Public bug reported:

usage is:
                ssl-cert-check -x 100 -c cert.pem

I checked it with 3 certificates:

1. valid for a long time (2 years)
2. valid only some days (30 days)
3. already expired

In every 3 cases the utility print out the right diagnosis but doesn't set an 
error code (<> 0).
So this utility can't be easily used from a shell script.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ssl-cert-check 3.22-1
ProcVersionSignature: Ubuntu 3.8.0-0.3~precise3-generic 3.8.0-rc3
Uname: Linux 3.8.0-0-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
Date: Tue Jan 29 11:56:07 2013
Dependencies:
 
MarkForUpload: True
PackageArchitecture: all
SourcePackage: ssl-cert-check
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ssl-cert-check (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1108791

Title:
  no failure code is set if an expiration is detected

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ssl-cert-check/+bug/1108791/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to