Move certificate to another server but dns points to old one


#1

Hi everyone.
I actually have one server on AWS that hosts my virtualhosts. One of this virtualhosts have ssl enabled so everything works as expected.
No i plan to move that instance under a load balancer so i need to keep every dns record as is until the new server is ready. As because the load balancer can accept SAN certs i want to modify the existing issued cert to add those other domains, but here comes the fun. As the dns record points to the old server i get Detail: Incorrect validation certificate for TLS-SNI-01 challenge. How can i solve this ?
thanks in advance


#2

I’ve resolved by using dns validation
./certbot-auto certonly --manual --preferred-challenges dns


#3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.