egorovandreyrm / pcap-remote

Non-root network sniffer app that features supporting Wireshark sshdump tool
GNU General Public License v3.0
76 stars 27 forks source link

Can't Install SSL Certificate #9

Open AmrAshraf opened 2 years ago

AmrAshraf commented 2 years ago

Hello,

I am trying to to install SSL Certificate and it gives me "Can't install CA certificates", "This certificate from PCAP Remote must be installed in Settings. Only install CA certificates from organizations you trust.".

Then i figured out starting from Android 11 you need to install it manually from settings. But i can't find the right pcap remote CA to install. I also tried to Export the ssl certificate and installing it but it gives me "no certificate to install".

Can any one point me towards the CA certificate?

aspirantis commented 2 years ago

Hi!

I faced with the same issue. Also, generated mitm_key.pem include only key. So, it is not possible to convert it into *.cer/crt

bostjanlaba commented 2 years ago

I also have this issue. Can I somehow get the self-signed CA from the application and manually import it like Android wants me to?

igrokit commented 2 years ago

Same issue here.

ypcyc commented 2 years ago

Haven't tried on the real phone as I need so simulate different location, but working with emulator devices I discovered following:

  1. Android 11 (api 30) doesn't allow to install that certificate
  2. Android 7 (api 24) allows to install it, but in when I try to capture traffic from Chrome it give error about the certificate
  3. Android 9 (api 28) works fine for me image
eapricejr commented 2 years ago

Any update and/or workaround on this by chance?

CreateDilemmas commented 2 years ago

No, ive used a Magisk extention to push user certs to system but i cant with just a pem, needs to be a cert.

On Tue, Feb 22, 2022, 4:17 PM eapricejr @.***> wrote:

Any update and/or workaround on this by chance?

— Reply to this email directly, view it on GitHub https://github.com/egorovandreyrm/pcap-remote/issues/9#issuecomment-1048220497, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANLRKQBQQUDIAO67MCMWGJLU4P4PZANCNFSM5DQFDHRQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

NicoLouis-be commented 2 years ago

the certificate is in de code https://github.com/egorovandreyrm/pcap-remote/tree/master/app/src/main/assets/mitm_cert

if your phone is rooted and you know how to use ADB then follow these instructions from step 2 point 2 for the cert.pem file of the above link https://secabit.medium.com/how-to-configure-burp-proxy-with-an-android-emulator-31b483237053

don't know if the output of the openssl commands are the same for everyone but for me the file name was 0595058e.0

did it yesterday and it works

emanuele-f commented 2 years ago

Since there is no activity in this repo since 2020, I suggest you to check out my open source project PCAPdroid which allows you to capture traffic, perform TLS decryption and more. Join the telegram group to get in touch