I am running a web server in AWS and recently purchased an SSL cert to encrypt traffic, let's say for example.com
. Since example.com is running in production, how would I actually test the cert is working properly? I cannot test it with staging.example.com
because it's not a wildcard cert. I don't want to just install it in case something goes wrong -- I'd like to test first.
The only thing I could come up with is creating a new VPC, spinning up a new server and creating a privately hosted DNS. I could point example.com
to the private IP of the server in the internal DNS zone to see if everything loads correctly. This seems like a lot of work to test an SSL cert. Am I missing something? There has to be an easier way?