Hello everyone!
I post here today to request a little help.
I am planning on writing a bot with Pascal. When I say bot I mean it's software that connects to a service and automates tasks that the user would usually carry out.
I am writing this bot to work with an app on the Android platform (I mean the service is accessed by the app on Android, the software I'm making will be on desktop)
Unfortunately, the service does not have a bot API, so I am trying to write the bot by recreating the traffic between the app and the server so the server thinks it's just the client interacting with it.
So a member of my team started sniffing the packets sent between his phone and the internet while certain tasks where being done on the app with Wireshark. We pinpointed the server for the app.
Then we ran into a problem that has stumped us. All the packets between the client and server were encrypted! Digicert SSL.
None of us have any experience and little knowledge about SSL, but we did some rooting around in the app's APK and found a CERT.RSA file. We are not completely sure what it is but we THINK that it might be either the public or private key for the SSL. It appears to be encrypted, it looked like binary, opening it up in a text viewer gave us loads of seemingly random characters.
So, I would like to gain access to (with Wireshark I guess) the plain, decrypted data that is being sent/recieved by the client/server so it can be recreated with my bot software, and also I would like to know how to do whatever I need to do with my networking framework (LNet) so the server still thinks it's the normal app exchanging data with it, I guess I would need to encrypt what the bot software sends out.
Is this possible? What do I need?
All I have right now is the CERT.RSA file, I hope that'll be enough. If I need anything else can you tell me where it could be located (if I can get it at all)
I'm all rusty with the SSL and some of the networking stuff, so please try to explain clearly

Thank you very much in advance!
I attach the CERT.RSA file, but I changed the extension to .txt so I could attach it C: