RackSpace SafetyTraining.3m.com SSL Update

This guide assumes that you have done the workspace setup for 3M Safety Training. Please follow this guide if you haven't. Follow the steps below to extract the certificate and key file in a .pfx file.

Pre-requisite

ake sure 3m has provided the safetytraining.3m.com.pfx  file and associated password

Extract Files from .pfx

Please follow the commands below to extract the certificate and key files from safetytraining.3m.com.pfx. 

  1. Upload safetytraining.3m.com.pfx file to the safety training server in the ~/ssl-keys directory.
  2. Login to the safety training server.
  3. Execute the command openssl pkcs12 -in safetytraining.3m.com.pfx -out safetytraining.3m.com.d.key -nocerts -nodes to extract the key file.
  4. Execute the command openssl pkcs12 -in safetytraining.3m.com.pfx -out safetytraining.3m.com-cert.pem -nokeys -clcerts to extract the certificate file.

Move Files into Apache

Replace the certificate and key file in  /etc/apache2/ssl/safetytraining.3m.com/ with the newly extracted files

Login into server and Restart Apache

Open Terminal or SSH Client:

  • On your local machine, open a terminal window if you're using Linux or MacOS.
  • If you're using Windows, you may need an SSH client like PuTTY.

SSH into Your Ubuntu Server: (this uses your RSA key set up for 3M which you will need)

ssh -v -o "IdentitiesOnly=yes" -i ~/.ssh/id_rsa_3m -p 30000 [email protected]

Gain Superuser Access:

  • If you’re not logged in as the root user, you may need to gain superuser access to restart Apache. 
  • Type the following command:

 

  • sudo -i
  • sudo -i
    • You'll be prompted to enter your password again.

Restart Apache:

  • Once you have superuser access, use the following command to restart Apache: bash

 

  • sudo service apache2 restart

 

  • This will restart the Apache server.

Check Apache Status (Optional):

  • If you want to check the status of the Apache server to ensure it restarted successfully, use:

 

  • sudo service apache2 status

 

  • You should see an active (running) status if everything is working correctly.

Exit Superuser Mode (If used):

  • If you switched to superuser mode with sudo -i, type exit to return to your normal user.

Close the SSH Connection:

  • Once you’re finished, you can close the SSH connection by typing: bash
  • exit
  • Or simply close the terminal or SSH client window.