mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
respect CA-related command line options
This commit is contained in:
parent
1cfb4d46c6
commit
5b414102ba
2
setup.py
2
setup.py
@ -52,7 +52,7 @@ except:
|
||||
|
||||
setuptools.setup(
|
||||
name='warcprox',
|
||||
version='2.4b1.dev142',
|
||||
version='2.4b1.dev143',
|
||||
description='WARC writing MITM HTTP/S proxy',
|
||||
url='https://github.com/internetarchive/warcprox',
|
||||
author='Noah Levitt',
|
||||
|
@ -404,7 +404,8 @@ class SingleThreadedWarcProxy(http_server.HTTPServer, object):
|
||||
|
||||
ca_name = ('Warcprox CA on %s' % socket.gethostname())[:64]
|
||||
self.ca = CertificateAuthority(
|
||||
ca_file='warcprox-ca.pem', certs_dir='./warcprox-ca',
|
||||
ca_file=options.cacert or 'warcprox-ca.pem',
|
||||
certs_dir=options.certs_dir or './warcprox-ca',
|
||||
ca_name=ca_name)
|
||||
|
||||
self.recorded_url_q = warcprox.TimestampedQueue(
|
||||
|
Loading…
x
Reference in New Issue
Block a user