Is Vapor managing your DNS records?
I feel like I ran into this issue once when I was trying to use an AWS certificate for a domain that was being managed by cloudflare.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am working with Laravel 7.x and Vapor (the latter for the first time). I have an issue where, on deployment of staging, I get the following error:
An error occurred during deployment.
Message: AWS: The certificate provided must be owned by the account creating the domain.
I am using the Vapor default network setup of API Gwy 2 and have registered my domain and issued the certificate for ap-southeast-2 via the Vapor ui. I can see the certificate in AWS's Certificate Manager console for that region.
I have deleted and recreated the certificate, both via the Vapor ui & cli and AWS, a number of times, but the error remains.
Any suggestions appreciated.
Please or to participate in this conversation.