CAS PEM certificate location [Drupal 7]

Drupal Version

To use the CAS PEM certificate installed on websites hosted on OIT webhosting, please use the following path:


Applying fix to resolve CAS redirect loop

  1. Login to Plesk via
  2. Click “Databases” in the side menu
  3. Click “phpMyAdmin” to edit your database
  4. Go to the “variable” table
  5. Look for a variable named “cas_cert”
  6. Click the “BLOB” link next to the variable name in the value column to download the “variable-value.bin” file
  7. When you open the file in Notepad++ (or your text editor of choice), you’ll see a line similar to this:                                               s:33:" /etc/pki/tls/certs/ca-bundle.crt";
  8. Delete the PEM path (DO NOT DELETE THE QUOTES!) and save the file
  9. Click the “Edit” link next to the “cas_cert” variable
  10. In the “value” row item, click the “Browse” button to upload the edited file
  11. You can now login to your website (if you still see the CAS authentication error message, click the “reload” button on your browser)