For my android app project , i wanted to use app deep linking, using app link assistant. Following steps I have done:
- Added url intent filters.
- Logic to handle intent
- Associate website - created DAL file using debug certificate.
- Save the file as assetlinks.json
- Save the file under my server https://sub.subdomain.example.com/.well-known/assetlinks.json
- The file is accessible via browser.
- But when tested inside the android studios app link assistant link and verify, it give error "The website hosting the Digital Asset Links file must support HTTPS with a valid certificate. Please ensure the DAL file is accessible at https://sub.sudomain.example.com/.well-known/assetlinks.json".
I am using below configuration on server:
- Ubuntu 16.04
- PHP 7
- SSL certificate generate via letsencrypt.org
- fullchain.pem and key.pem used in SSL configuration
- nginx/1.10.0
Android Studio 2.3
Can someone guide what could be possible issues? Why the android studio app assistant not verifying the file.