Skip to content

关于node-mitmproxy在Android手机端访问https的问题 #13

Description

@zimo2013

http没有问题,部分https返回正常,但部分https会报错,错误如下

(node:19245) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Cannot read public key. OID is not RSA.

//js 配置如下
sslConnectInterceptor: (req, cltSocket, head) => true,
caCertPath: '/Users/mac/node-mitmproxy/node-mitmproxy.ca.crt',
caKeyPath: '/Users/mac/node-mitmproxy/node-mitmproxy.ca.key.pem',

Android手机已经安装了对应的证书crt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions