mirror of
https://github.com/adulau/crl-monitor.git
synced 2024-11-22 01:57:05 +00:00
Verbose mode added
This commit is contained in:
parent
cdbccbc256
commit
f5a7a68a4c
1 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,8 @@ for cert in fileinput.input(args.r):
|
||||||
f = open(fn, 'w+')
|
f = open(fn, 'w+')
|
||||||
f.write(certb)
|
f.write(certb)
|
||||||
f.close()
|
f.close()
|
||||||
|
if args.v:
|
||||||
|
print "Certificate saved in " +fn
|
||||||
|
|
||||||
try:
|
try:
|
||||||
x509 = X509.load_cert_string(certb, X509.FORMAT_DER)
|
x509 = X509.load_cert_string(certb, X509.FORMAT_DER)
|
||||||
|
|
Loading…
Reference in a new issue