v.licheni.net
/
stack
/
cam.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d81c4cd
)
dump certs on stderr
author
ale
<ale@incal.net>
Wed, 8 Feb 2012 11:13:48 +0000
(11:13 +0000)
committer
ale
<ale@incal.net>
Wed, 8 Feb 2012 11:13:48 +0000
(11:13 +0000)
cam/tests/test_main.py
patch
|
blob
|
history
diff --git
a/cam/tests/test_main.py
b/cam/tests/test_main.py
index
a370960
..
e818ee1
100644
(file)
--- a/
cam/tests/test_main.py
+++ b/
cam/tests/test_main.py
@@
-49,6
+49,11
@@
cn = www.test.org
self.assertTrue(os.path.exists(ca_file))
self.assertTrue(os.path.exists(crt_file))
self.assertTrue(os.path.exists(ca_file))
self.assertTrue(os.path.exists(crt_file))
+ subprocess.call(['openssl', 'x509', '-in', ca_file,
+ '-noout', '-text'])
+ subprocess.call(['openssl', 'x509', '-in', crt_file,
+ '-noout', '-text'])
+
pipe = subprocess.Popen(
['openssl', 'verify', '-CAfile', ca_file, '-verbose', crt_file],
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
pipe = subprocess.Popen(
['openssl', 'verify', '-CAfile', ca_file, '-verbose', crt_file],
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)