- First, go to your apache directory.
- Create a folder. Name it as crt-{your-domain}, just in case you want to create multiple ssl domains in your localhost.
- Go to https://shellcreeper.com/how-to-create-valid-ssl-in-localhost-for-xampp/ and follow Step 3 till the end of that tutorial.
Take note that we changed the certificate folder in step 2 to cert-{your-domain}, so make sure you replaced folder name in step 7.