Computing/SSL

Using wget to download files from certificate-protected sites at MIT:

openssl x509 -out mitca.pem -outform pem -in mitca.crt -inform der openssl pkcs12 -nocerts -in usercert.p12 -out ~user/userkey.pem chmod 400 ~user/userkey.pem openssl pkcs12 -clcerts -nokeys -in usercert.p12 -out ~user/usercert.pem wget --private-key=/home/user/mitkey.pem \ --certificate=/home/user/mitcert.pem \ --ca-certificate=/home/user/mitca.pem \ https://web.mit.edu/rhlinux/rhel-5.0/5.0-client-i386/rhel-5-client-i386-disc4.iso
 * Download MIT CA
 * Convert the extracted MIT CA from DER to PEM format:
 * Install personal MIT certificate into web browser
 * Extract private and public keys from the .p12 certificate (converting from pkcs12 to PEM). The first step extracts the private key and the second one extracts the public key:
 * Use the certificates to download files: