node-http-mitm-proxy
node-http-mitm-proxy copied to clipboard
Why using multiple certificates
I'm trying to understand the decision of having multiple certificates, one for each visited website. This means that we have to manually trust each one of the generated certificates once a new website is visited? Why not creating a global certificate that communicates with the proxy and the proxy handle this certificate exchange with the websites? Like Hoxy does. I'm currently working on a filter proxy application and was planning to use this library, but once I visit any website using HTTPS the website refuse the connection because I haven't trust that website certificate.
And even if it's possible to automatically trust all these certificates, this will stack tons of certificates on the user machine and keychain.
Is this the expected behaviour or am I missing something?
Solution: root certificate can be trusted
root certificate = first certificate
The certificates of other websites are generated according to the root node certificate
Is there a possibility of not generating a certificate for each other website and use only the first certificate (only the root certificate)
@Devhercule Any success?
did u find the solution :-) tried of getting bunch of certificates + keys