Midterm Assessment - Hsanokklis/2023-2024-Tech-journal GitHub Wiki
Challenge 1 - Configure Apache
- Rocky is your web server
- Install Apache (httpd) and be able to browse to it from your kali web browser
sudo yum install dhclient
- Ip address:
10.0.17.102/24
Deliverable 1: Submit screenshot of browser (from Kali) successfully showing your web page
Challenge 2 - Create CA & request Certificate from Web Server
In order to set up HTTPS, you will need a private key and a certificate (with public key) signed by a CA.
- Kali will be your CA. Rocky will be the web server
- Prepare the CA, create its private key, & then certificate.
- Organization is "SEC260"
- On kali -
openssl ca -out websrv.crt -infiles websrv.csr
Deliverable 2: Submit screenshot of the web server terminal showing the successfully transfered .crt file
Challenge 3 - Configure Apache for HTTPS
Using the private key you created and the signed .crt file, configure Apache to use HTTPS
Deliverable 3: Submit screenshot of a browser showing successful https connection to your server (don't forget to include the URL part of your web browser for me to see the correct server IP address)
Challenge 4 - Only allow HTTPS to your server
Configure your server to only accept HTTPS connections
Deliverable 4: Submit a short description of what you did and screenshot proof
- go to
/etc/httpd/httpd.conf
- comment out
Listen 80
(port 80 is for http connections)