mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +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([
|
cert.add_extensions([
|
||||||
OpenSSL.crypto.X509Extension("basicConstraints", True,
|
OpenSSL.crypto.X509Extension("basicConstraints", True,
|
||||||
"CA:TRUE"),
|
"CA:TRUE"),
|
||||||
OpenSSL.crypto.X509Extension("nsCertType", True,
|
OpenSSL.crypto.X509Extension("nsCertType", False,
|
||||||
"sslCA"),
|
"sslCA"),
|
||||||
OpenSSL.crypto.X509Extension("extendedKeyUsage", True,
|
OpenSSL.crypto.X509Extension("extendedKeyUsage", True,
|
||||||
"serverAuth,clientAuth,emailProtection,timeStamping,msCodeInd,msCodeCom,msCTLSign,msSGC,msEFS,nsSGC"
|
"serverAuth,clientAuth,emailProtection,timeStamping,msCodeInd,msCodeCom,msCTLSign,msSGC,msEFS,nsSGC"
|
||||||
|
Loading…
Reference in New Issue
Block a user