I'd like to view the https traffic from my app.
I installed fiddler on my pc and downloaded the certificate to the device and can view https traffic from the browser.
But when I try my app - I get javax.net.ssl.sslhandshakeexception java.secirity.cert.CertPathVelidatorException Trust anchor for certification path not found.
I believe the fiddler setup is correct as I can view https traffic from my phone browser.
Any help?
or other ways of doing the same.
I know from running java apps on the desktop - you can specify the proxy ip+port to the java vm - maybe something similar needs to be done on the device.
I was able to set up the emulator for http traffic - but https doesn't work - I installed the fiddler cert on the emulator also. Using Android 29.
javax.sslhandshakeexceptionstates that your SSL certificate is not valid. Try setting it up again. - n3dx