I want to know on how SSL certificate works and why do I need to have certificate keys and add it in my hosting panel for https is enabled?
An SSL (Secure Sockets Layer) certificate is a digital certificate that establishes a secure and encrypted connection between a website and its visitors' web browsers. The SSL certificate is used to encrypt the data transmitted between the website and the visitors, preventing anyone from intercepting the data in transit and stealing sensitive information like passwords, credit card numbers, and personal information.
The SSL certificate contains two important elements: the public key and the private key. The public key is used to encrypt the data transmitted between the website and its visitors, while the private key is used to decrypt the encrypted data.
When you install an SSL certificate on your website, you need to provide the certificate and the private key to your hosting panel. The certificate and the private key are used to establish the secure connection between your website and its visitors. Once the SSL certificate is installed and the https protocol is enabled, the website's URL will start with "https" instead of "http" and the padlock icon will appear in the browser's address bar, indicating that the connection is secure.
By installing an SSL certificate and enabling https on your website, you are not only making your website more secure and trustworthy, but you are also helping to protect your visitors' information and complying with security and privacy regulations like the General Data Protection Regulation (GDPR) and the Payment Card Industry Data Security Standard (PCI DSS).