I'm testing https webserver and have an issue while trying to access it from my android phone.
- software used: Google Chrome and wrapped into WebView version of the site;
- devices: google pixel 3a running android 10, android studio emulator w/ android 8.
Step performed:
Using this script: Getting Chrome to accept self-signed localhost certificate, I generated certs and keys for my server to access it via IP:
192.168.0.101
(in script replaced DNS alt_name with IP);Ran golang (also tried nodejs) webserver with followed cert/key pair:
http.ListenAndServeTLS("192.168.0.101:8443", "/home/username/ssl/192.168.0.101.crt", "/home/username/ssl/192.168.0.101.key", router)
Added
myCA.pem
as the trusted authority in desktop Google Chrome and it works;Added the same
myCA.pem
as the trusted authority in android cert storage, tried to reboot chrome/device but it's still invalid.