Commit d9876b86 authored by ale's avatar ale

dump certs on stderr

parent d81c4cdb
......@@ -49,6 +49,11 @@ cn = www.test.org
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment