CMPS-4350 Advanced Software Engineering
Lab-3
Overview:
Copy the files to your /4350/3 folder. Get the lab files from Odin at: /home/fac/gordon/p/4350/code/lab3/*Homework Use libcurl. Your instructor went home, installed libcurl, and got an HTTPS connection to Odin. Your homework assignment is to refactor the lab3http.cpp program to work the same as it did when connecting to HTTP sites, but now it will connect to HTTPS sites. Name your refactored program curlhttps.cpp When complete, place it in your /4350/3 folder on Odin. Your folder should contain the following files... lab3http.cpp curlhttps.cpp Makefile Executables produced are... lab3http curlhttps
You will start by building and running your program. Run the lab3http program. Example: ./lab3http www.google.com robots.txt This should display a file from the Google web server. Your goal is to get this program to contact the Odin web server.
To contact the Odin server, please bring your program to the Desktop. Build and run your program. make clean make ./lab3http www.cs.csubak.edu robots.txt You should see Odin's robots.txt file. Fix any errors that occur. How to proceed... Our Odin server uses HTTPS connection protocol. Use Google or other sources to find information on HTTPS in C/C++. You may work with other students in the class to get this done. You may use the libcurl functions. Use port 443