Pa4 Deliverables Team6
Pa4 Deliverables Team6
Nick Anderson
Jonathan Peggs
Oscar Ochoa
Juan Duarte
1. Draw and submit the network design in pdf format with all interfaces labeled with
interface names (e.g., s1-eth1) and interface IP addresses.
2. Python Scripts running without errors.
3. All interfaces being pinged via Mininet
gen_certs_team6.py
1. Line 12 we are changing to the /etc/ssl/demoCA directory where we will be storing the
certificates and keys
2. Lines 15 -16 remove the keys if they are present or not.
3. Lines 19-20 remove the certificates if they are present or not.
4. Lines 23-24 remove the csrs if they are present or not
5. Lines 30-31 are generating our keys
6. Lines 33-34 ask user to input the CNs for the servers
7. Lines 37-38 generate the certificates
8. Lines 41-42 authenticate the certificates
9. Lines 45-46 move the chat server key and certificate to their respective directories
10. Lines 48-49 move the web server key and certificate to their respective directories
11. 52-78 opens the /etc/hosts directory and checks to see if the chat and web host entries
exist in the directory. If they are not found it adds them to the file ensuring that the host
IP-address mappings are present.
web_server_team6.py
1. Line 4 assigns the port to 4443.
2. Line 5 saves the domain name for the web server
3. Line 6-7 are the paths for the certificate and key for the webserver
4. Specifies that the SSL context will be used for TLS server-side
5. Line 11 loads the certificate with the correct key
6. Sets up the HTTP server that uses SSL/TLS encryption for secure communication by
wrapping the socket with a SSL/TLS layer using the ssl context.
PA3_Client_Team6.py
1. Lines 30-32 create an SLL context which we use to wrap the socket for a secure
connection.
PA3_Server_Team6.py
1. Lines 102-104 we create an SSL context and load our certificate with the correct key.
2. Line 122 wraps the socket with the SSL context for a secure connection.