Good Evening. It’s been a longtime after my last visit. How are you all? Hope all is well and good. Let’s jump into the issue:
I am developing an app which should be installed on both the PC and Android Phone.
Upon receiving a call in the android mobile, while its ringing… I want my app in the PC to look up the details through the incoming call number and the display the details in the dashboard according to the software which is going to use my tool. It may be an inventory tool, or a shop or an accounting firm…
I chose signalR as my server (notification Hub). Now I know some C# code And Android Studio (Kotlin) for the android app.
The server is starting well and working on the PC but my mobile app is not at all finding it connect or pass the ringing number to the PC.
There is no problem in the Windows/PC side but Android.
In so far what i have read, An Android system cannot connect through an Https unless a valid SSL Certificate is present and also trusted.
I tried to create my own certificate by myself and tried connecting. No use.
Please tell me How to get or purchase a valid SSL certificate to connect an Android App to the PC using SSL certificate.
p.s: I tried using openSSL to create my own certificates. I am ready to purchase also but only 15$ per year the most.
If the PC has a public domain name, and can run a web server, or you have control of the DNS records for that domain, you can use Lets Encrypt to get a free certificate.
If it doesn’t have a public domain name, you will need to manually add the certifying certificate for the key you used to sign the PC’s certificate, adding it to the certificate store on the Android.
If it has a public domain name, but you are unable to use DNS or a web server to verify control of the domain, the second option will still work, but it is also possible that there is a certifier who is able to verify your ownership of the domain by other means, and is trusted by out of the box Androids.