X-Git-Url: https://pwan.org/git/?p=certmaster.git;a=blobdiff_plain;f=scripts%2Fcertmaster-ca;h=d10c1a24e839e297f544fcf8105d389d5e8b8947;hp=37a509c5b1e55ba4c666c2b74283865045cec2ca;hb=67070b83b2873cd26228d5002989cae73ead0167;hpb=8da1d87f11b2894d997bb97036a2c298fc828998 diff --git a/scripts/certmaster-ca b/scripts/certmaster-ca index 37a509c..d10c1a2 100755 --- a/scripts/certmaster-ca +++ b/scripts/certmaster-ca @@ -63,7 +63,7 @@ def main(args): if opts.list: hns = cm.get_csrs_waiting() if hns: - for hn in cm.get_csrs_waiting(): + for hn in sorted(hns): print hn else: print 'No certificates to sign' @@ -104,7 +104,7 @@ def main(args): signed_certs = cm.get_signed_certs(args) - for i in signed_certs: + for i in sorted(signed_certs): print i return 0 @@ -116,7 +116,7 @@ def main(args): cert_hashes = cm.get_cert_hashes(hostglobs) - for i in cert_hashes: + for i in sorted(cert_hashes): print i return 0