pywb icon indicating copy to clipboard operation
pywb copied to clipboard

Error in proxy mode

Open tripleo1 opened this issue 3 years ago • 1 comments

Describe the bug

Firefox gives an error MOZILLA_PKIX_ERROR_MITM_DETECTED because it sees pywb proxy cert

Steps to reproduce the bug

Enable proxy mode using docker (docker run -p 9090:8080 -v pwd/pywb-data/:/webarchive webrecorder/pywb wayback --proxy my-web-archive) Set Mozilla to proxy mode (Hamburger / Preferences / Network Settings) Browse to a URL (http://google.com)

Expected behavior

Expected proxy to pull URL

Screenshots

Environment

Firefox 81 Linux

Additional context

tripleo1 avatar Oct 01 '20 04:10 tripleo1

Download and import the certificate in to Firefox as explained here and here

Importing the certificate shall fix the problem, however it is best to start pywb proxy directly to browse the archive files as explained here.

Then start the pywb proxy within docker while the same collection directory attached to container as volume, to make sure the same collection can be browsed either directly or through docker.

To browse current archives in my-web-archive collection through proxy: wayback --proxy my-web-archive

To record in my-web-archive collection through proxy: wayback --live -a --proxy-record --proxy my-web-archive

Please let us know if you have any further questions, or if there is any issues, otherwise please close this issue.

sydoluciani avatar Nov 01 '20 05:11 sydoluciani