Encrypting Web Servers using SSL
In SSL/TLS, a CA Certificate (Certificate Authority Certificate) is a digital certificate issued by a trusted authority (CA) that verifies the identity of websites or services. The CA Chain (or certificate chain) is a sequence of certificates that begins with the server's certificate, followed by one or more intermediate certificates, and ends with the root CA certificate. This chain establishes a path of trust from the CA to the server's certificate. The Key (specifically, the private key) is a cryptographic key that remains confidential on the server and is used to encrypt and decrypt data as well as to sign the certificate request, ensuring secure communication.
LAB : Encrypting Apache2 Web server using SSL
Installing Apache2 Web server
# sudo apt update
# sudo apt install apache2
# sudo apt enable apache2
~ General Apache2 Service Commands
# sudo systemctl (restart , stop , restart , disable) apache2
By default the apach2 web server is running on HTTP we need to configure ssl for running it on HTTPS
Configuring SSL
Step - 1 : Generating the Private Key (.key)
Step - 2 : Generating the Key Signing Request (.csr)
Step - 3 : Generating the Self Signed Certificate (.crt)
Step - 4 : Genarat`ing CA-Chain (.bundle)
Step - 5 : Installing SSL on Apache2
Now we will edit the default configuration file to point out our self signed certificates


Last updated