Skip to content

update_cert对subdomain的处理会生成大量多余证书 #212

@MDZZ-123

Description

@MDZZ-123

主要是Google系的,例如*.googlevideo.com这种网站
当前的update_cert函数用的是
server_name = res.subdomain.split('.', 1)[-1] + '.' + res.domain + '.' + res.tld
这个会导致rr开头的子域名那一部分也被包含在内,然后每连接一个*.googlevideo.com就会生成一个证书
但实际上只需要一个*.googlevideo.com的泛域名证书即可
建议在if那里加一个res.subdomain.find('.')!=-1的条件,这样就只会生成一个泛域名证书了

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions