mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
mark nsCertType non-critical, fix #39
This commit is contained in:
parent
dfabe165d4
commit
4d5d8b6511
@ -29,7 +29,7 @@ def create_ca(o, cn, exp):
|
||||
cert.add_extensions([
|
||||
OpenSSL.crypto.X509Extension("basicConstraints", True,
|
||||
"CA:TRUE"),
|
||||
OpenSSL.crypto.X509Extension("nsCertType", True,
|
||||
OpenSSL.crypto.X509Extension("nsCertType", False,
|
||||
"sslCA"),
|
||||
OpenSSL.crypto.X509Extension("extendedKeyUsage", True,
|
||||
"serverAuth,clientAuth,emailProtection,timeStamping,msCodeInd,msCodeCom,msCTLSign,msSGC,msEFS,nsSGC"
|
||||
|
Loading…
Reference in New Issue
Block a user