We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Firefox v48 I get following error while connecting to HTTPS website on which I use MITM:
An error occurred during a connection to wikipedia.org. security library: improperly formatted DER-encoded message. Error code: SEC_ERROR_BAD_DER
Script I use:
func main() { proxy := goproxy.NewProxyHttpServer() condition := goproxy.UrlMatches(regexp.MustCompile("^wikipedia.org:443")) proxy.OnRequest(condition).HandleConnect(goproxy.AlwaysMitm) proxy.OnResponse(condition).DoFunc(func(res *http.Response, ctx *goproxy.ProxyCtx) *http.Response { b, _ := ioutil.ReadAll(res.Body) res.Body = ioutil.NopCloser(bytes.NewBuffer(b)) go DoStuff(b) return res }) log.Fatal(http.ListenAndServe(":8081", proxy)) } func DoStuff(b []byte) { fmt.Printf("Do something with byte len=%d\n", len(b)) }
What can be done?
The text was updated successfully, but these errors were encountered:
Issue 142 is probably the same?
Sorry, something went wrong.
Got same error.
https://support.mozilla.org/en-US/questions/1064991
Related to #560
No branches or pull requests
In Firefox v48 I get following error while connecting to HTTPS website on which I use MITM:
Script I use:
What can be done?
The text was updated successfully, but these errors were encountered: