- Apache server configured and installed
Step 1: Generate Certificate
- Create a directory place to store the file
- $ mkdir ~/certificates
- $ cd ~/certificates
2. Generate a CSR and private key using following command
- $ openssl req -x509 -newkey rsa:4096 -keyout apache.key -out apache.crt -days 365 -nodes
After successfully running the command it will ask for the information of certificate request. Complete it using the appropriate information.