So obviously I'm new around network security and I have this task to finish but I'm stuck for a while now. I have to create a SSL connection for my localhost (I'm using xampp/apache as a server) where I have to establish a secure connection for my page (an eCommerce page using Magento).
So far, I understood that I need a certificate but whenever I try to get one the hostname doesn't allow 'localhost' as a hostname? So what am I missing? Or what should I fill in as a hostname? I don't understand.. I have a x509 certificate, would it work to secure the connection?