I wanted ap.scrumpy.satki.net for my server’s web panel but there was a problem I could not get an SSL to work. Even when I got a wildcard certificate i.e *.domain.com this covers every subdomain on domain.com.
How do you get it to work?
Great question I have wondered for months, how you do it is getting a wildcard for your subdomain, You can do this with DigiCert or whatever but I’m going the free route with Let’s encrypt.
First, you need a domain I’m going to use my friend’s domain for this tutorial, I will also be using aaPanel for this as well as it’s free and it works.
Im using sub.sub.danklin.xyz but you use your domain.
Now, this resolves In the browser but it’s not secure regardless of having a wildcard certificate.
If you are using boga.alpha.me.co take alpha.me.co and add an asterisk making it *.alpha.me.co
now make an issue a cert to *.alpha.me.co
Now I have an SSL issued to *.sub.danklin.xyz
Now it says it’s secured!
Thanks for reading this I hope it worked for you if you need help feel free to message me on discord or leave a comment.