问答 gorelay 支持录制 https 么

chen8552 · January 04, 2021 · Last by 测试测试测试 replied at March 21, 2022 · 2928 hits

gorelay 支持录制 https 么
尝试录制的 443 的内容虽然没有报什么错误 无法回方成功

官网的解释没太明白, 貌似都需要在被测物上做一些改造
Can I use Gor to intercept SSL traffic?
Basic idea is that SSL was made to protect itself from traffic interception. There 2 options:

Move SSL handling to proxy like Nginx or Amazon ELB. And allow Gor to listen on upstreams.
Use --input-http so you can duplicate request payload directly from your app to Gor, but it will require your app modifications.
More can be find here: https://github.com/buger/gor/issues/85

共收到 5 条回复 时间 点赞

为这个问题头痛中,看过下域名,回放以 https 方式问题不大,主要是录制,要改 goreplay 底层实现的协议,加上证书等,而且可能是一个域名一个证书,麻烦

terrychow 回复

老哥通了么,我那个证书的页弄失败了,什么 509 的那个。

占个楼

chen8552 回复

没通,各种 error,还在看

需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up