Assignment: OpenSSL With Apache
OpenSSL is an open source library that implements the SSL (Secure Socket Layer) and TLS (Transport Layer Security) protocols, and it is by far the most widely deployed, freely available implementation of these protocols.
Reference: Viega, J., Messier, M., & Chandra, P. (2002) Network security with OpenSSL. O’Reilly Media.
For this 2-week Assignment, you will install OpenSSL in a Linux server and integrate OpenSSL with Apache server.
Week 5 Tasks
Accessing and Reviewing the IBM® Cloud Virtual Server Management Functionality
A significant proportion of the practical work will entail use of IBM® Virtual Server. To begin, carry out the following familiarization tasks:
Create or activate an IBM Cloud account: https://cloud.ibm.com/login?state=%2Fcatalog
Log on to your IBM Cloud account.
Explore the top-level Cloud Management functions, services, options, and key tools offered by IBM Cloud.
Review relevant information on the IBM Cloud Virtual Services online.
In IBM Cloud console, navigate to Menu icon > VPC Infrastructure > Compute > Virtual server instances.
Click on New instance and enter the following information:
Name of your virtual server instance (CSEC 6735/ITEC 8735-your name)
Specify the IBM Cloud VPC where you want to create your instance
Select the location where you want your virtual server instance to be created
Profile: 1 vCPU and 1 GB memory (no cost)
Generate a SSH key by running the ssh-keygen command and following the prompts. For example, you can generate an SSH key on your Linux or Mac system by running the command ssh-keygen -t rsa -C “user_ID”. That command generates two files. The generated public key is in the .pub file. For Windows systems, you can use PuTTYgen to generate an SSH key
Choose an image from the list of images
Assign a network interface card IP address of your choice
Click on Create virtual server instance.
Connect to your newly created instance: $ ibmcloud is instance-network-interfaces –YOURNAME
Microsoft Windows Instructions:
If your local machine is running Microsoft Windows, please follow the instructions at: https://cloud.ibm.com/docs/vpc-on-classic-vsi?topic=vpc-on-classic-vsi-connecting-to-your-windows-instance#connecting-to-your-windows-instance
MacOS or Linux Instructions:
If your local machine is running MacOS or Linux, you should change the access-permission-property of the private key file to 400 using the command:
chmod 400 ITEC8735-Student-Thomas.key
Then use the following command to connect to the server:
ssh -i “ITEC8735-Student-Thomas.key” email@example.com
The following is a screenshot for changing the access permission for the private key and for a successful connection to the server.
After you set up a cloud Linux server, you may use Linux commands to update your system first. The following are example instructions that one might use for Ubuntu Linux at IBM Cloud.
yum -y update
yum -y install make wget openssl-devel ncurses-devel newt-devel libxml2-devel kernel-devel gcc gcc-c++ sqlite-devel
This command should also install the current openSSL to your server. OpenSSL documentation can be found at https://www.openssl.org/docs/.
Get familiar with openSSL command line applications. For example, run the following commands:
Encode/decode with base64
Encrypt a file and decrypt a file using DES or AES with passwords
Generate RSA/DSA private key/public key pairs
Encrypt/decrypt using RSA
Digitally sign a file using DSA
Generate a self-signed certificate
By Day 7
Submit a report describing in detail the steps you have taken, including screenshots for all major steps.
Note: Your document should be 3–5 pages long (not including the Title page or Reference list) but the quality of the work is most important, not the number of pages. Cite and reference all sources using APA format and style guidelines. Submit in a single document.
Assignment: OpenSSL With Apache