title: Headless Chrome is not redirecting
body: <p>We're using headless Chrome for an application testing. We have a page that refuses to redirect in headless mode but redirects perfectly fine when not running headless. The response header contains the URL to redirect to, and a 302 status code is returned. </p>
  
  <p>What would cause Chrome to behave differently when running in headless mode? Is there any logging that would help me to determine why the redirect isn't working as expected?</p>
  
  <p>Edit: Found some more info. It looks like I'm  unable to redirect to sites with bad certs. How can I deal with <code>ERR_CERT_AUTHORITY_INVALID</code> when running Chrome in headless mode?</p>