When using letsencrypt tool on a bitnami installation it appears that it is impossible to get the apple-developer-merchantid-domain-association file to load in the .well-known directory. One of the obvious indications is that you can place it in the root directory and see the file but move it to the .well-known directory and it always cmes up 404…
The directory you want is here: /opt/bitnami/apps/letsencrypt/.well-known
Do if you have already been perplexed why it won’t work just move your file with the command below:
sudo mv /opt/bitnami/wordpress/.well-known/apple-developer-merchantid-domain-association /opt/bitnami/apps/letsencrypt/.well-known/apple-developer-merchantid-domain-association
Thank you for sharing this. I helped a lot. I tried everything else and it didn’t work. Your post was a lifesaver. Appreciate it. 🙂