We have a domain with Let's encrypt certificates which are renewed every three months. However every time the certificate is near its expiry (today is 11th July, the certificate expires 21st July), I am receiving an email from Apple:
Apple Developer
Dear Admin,
Your website domain that uses Apple Pay has an SSL certificate that expires on Jul 21, 2022. After automatically trying to reverify your domain, we found that this SSL certificate has not been updated. Your domain is automatically checked 30 days, 15 days, and 7 days before this expiration date.
If you have an updated SSL certificate and the domain hasn't been successfully verified 7 days before expiration, please revalidate it manually by Jul 21, 2022 in Certificates, Identifiers & Profiles to ensure uninterrupted use of Apple Pay on your website.
However once the certificate is renewed, I always have to login into Apple developer console, download new apple-developer-merchantid-domain-association.txt
and deploy it again to our website.
This is time consuming and inefficient. Is there other way to do this instead of reuploading this file every three months?