Using certificate for testing purposes

interesting idea

i would suggest another approach which is to run your own CA and let people obtain a localhost cert and install the root

i usually suggest developers buy an xyz version of their domain $2 and setup DNS verification

Andrei