For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
| #!/usr/bin/env python | |
| #encoding: utf-8 | |
| import urllib2 | |
| import re | |
| from base64 import b64decode | |
| LIST_URL = 'https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt' | |
| DECODE_FILE = 'decode.txt' | |
| BLACK_FILE = 'gfw.url_regex.lst' |