firefox - Generating a Certificate for Local HTTP/2 Proxy -


i'm trying firefox nightly use secure http/2 proxy, it's refusing accept self-signed certificate.

the proxy composed of nghttp2 http/2 front-end , simple twisted proxy back-end. twisted code https://wiki.python.org/moin/twisted-examples , works on own http/1.1 proxy. nghttp2 invoked

nghttpx -s -flocalhost,8443 -b127.0.0.1,8080 server.pem server.pem -l info 

firefox using proxy specified in https://nghttp2.org/documentation/nghttpx-howto.html#http-2-proxy-mode.

i created server.pem localhost using

openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes 

when try load generic website http://www.something.com through proxy, firefox brings "this connection untrusted" warning. however, if tell add , store exception, brings warning again. can tell, it's never making past nghttp2 front-end twisted proxy.

am supposed doing different secure proxy certificated? can't find online other nghttp2 stating, "please note both firefox nightly , chromium require valid certificate secure proxy."

patrick mcmanus answered in firefox bugzilla while ago - , reason there still lack of ui in firefox:

you can tofu exception proxy case, have little differently.

  1. turn off proxy use in firefox.

  2. put https://proxyname:proxyport/ in location bar (use same name , port number have configured in pac - can't use ip addresses or default ports.. can't use ip addresses because can't verified pki , exceptions stored per port.

  3. override cert warning , perm. store exception. response meaningless addressing proxy port if endpoint
  4. turn proxy on , use it.

Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -