-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
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
need ca.crt for some androids (not ca.pem) #96
Comments
We use node-forge (pure js) to generate the certificate. var fs = require('fs');
var forge = require('node-forge');
var cert = forge.pki.certificateFromPem(fs.readFile('.http-mitm-proxy/certs/ca.pem'));
fs.writeFile('.http-mitm-proxy/certs/ca.crt', forge.asn1.toDer(forge.pki.certificateToAsn1(cert)).getBytes(), {encoding: 'binary'}); |
Also, if you want to pre-generate the ca certificate files to avoid the |
@felicienfrancois Thanks very much! |
@felicienfrancois I tried the above for android and I always see no-internet connection in my phone. Can you point me to any docs on how to setup for android/ios devices? |
The
ca.pem
provided here does not work for my android (n). I can get it to work by generating aca.crt
from yourca.pem
like so:but this requires the openssl binary which may not always be easy to come by. Could the project here directly generate the
ca.crt
that many of us need?see: justinleewells/pogo-optimizer#108
The text was updated successfully, but these errors were encountered: