projects
/
certmaster.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding unknown ca tests
[certmaster.git]
/
scripts
/
certmaster-request
diff --git
a/scripts/certmaster-request
b/scripts/certmaster-request
index
6b3414f
..
de4d047
100755
(executable)
--- a/
scripts/certmaster-request
+++ b/
scripts/certmaster-request
@@
-17,6
+17,7
@@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
import distutils.sysconfig
import optparse
import distutils.sysconfig
import optparse
+import sys
from certmaster import requester
from certmaster import requester
@@
-33,4
+34,7
@@
if __name__ == "__main__":
(opts, args) = parser.parse_args()
(opts, args) = parser.parse_args()
- requester.request_cert(hostname=opts.hostname, ca_name=opts.ca)
+ try:
+ requester.request_cert(hostname=opts.hostname, ca_name=opts.ca)
+ except Exception as e:
+ print >> sys.stderr, "error: %s" % str(e)