aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/resources
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-03-11 14:34:17 +1300
committerAldo Cortesi <aldo@nullcube.com>2012-03-11 14:34:17 +1300
commit22d4559a7aa8a02995796110d15e6970e922455f (patch)
treead1bedc81806a160eb9c7c8f149c290241954660 /libmproxy/resources
parent4e13ab1d05a3d9e265e225c60e9aca1353ab323e (diff)
downloadmitmproxy-22d4559a7aa8a02995796110d15e6970e922455f.tar.gz
mitmproxy-22d4559a7aa8a02995796110d15e6970e922455f.tar.bz2
mitmproxy-22d4559a7aa8a02995796110d15e6970e922455f.zip
Use PyOpenSSL for certificate generation.
We no longer call external OpenSSL commands at all.
Diffstat (limited to 'libmproxy/resources')
-rw-r--r--libmproxy/resources/cert.cnf33
1 files changed, 0 insertions, 33 deletions
diff --git a/libmproxy/resources/cert.cnf b/libmproxy/resources/cert.cnf
deleted file mode 100644
index 4d95f646..00000000
--- a/libmproxy/resources/cert.cnf
+++ /dev/null
@@ -1,33 +0,0 @@
-[ req ]
-prompt = no
-distinguished_name = req_distinguished_name
-x509_extensions = v3_cert
-req_extensions = v3_cert_req
-
-[ req_distinguished_name ]
-organizationName = mitmproxy
-commonName = %(commonname)s
-
-[ v3_ca ]
-basicConstraints = critical,CA:true
-keyUsage = cRLSign, keyCertSign
-nsCertType = sslCA
-
-[ v3_ca_req ]
-basicConstraints = critical,CA:true
-keyUsage = cRLSign, keyCertSign
-nsCertType = sslCA
-
-[ v3_cert ]
-basicConstraints = CA:false
-keyUsage = nonRepudiation, digitalSignature, keyEncipherment
-nsCertType = server
-
-[ v3_cert_req ]
-basicConstraints = CA:false
-keyUsage = nonRepudiation, digitalSignature, keyEncipherment
-nsCertType = server
-%(altnames)s
-
-[ alt_names ]
-%(sans)s