Title: Adding a certificate validation option
Last modified: August 30, 2016

---

# Adding a certificate validation option

 *  [gpspake](https://wordpress.org/support/users/gpspake/)
 * (@gpspake)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/adding-a-certificate-validation-option/)
 * Bypassing cert validation is not recommended for production systems.
 * I propose adding an option to the settings pagein the form of a path to the cert
   on the server. This can be done pretty simply without introducing any breaking
   changes. If a path is entered, phpCAS::setCasServerCACert will be used, otherwise
   validation will be bypassed using phpCAS::setNoCasServerValidation() like the
   current default behavior.
 * This removes the need for the comment that says ‘// if you want to set a cert,
   replace the above few lines’
 * Here’s a [commit with all of the changes](https://github.com/gpspake/cas-maestro/commit/70f27ef8ee6cac13b770f0693661e8befac0f0b6)
 * [Settings page screenshot](http://i.imgur.com/PaHZfMs.jpg)
 * [https://wordpress.org/plugins/cas-maestro/](https://wordpress.org/plugins/cas-maestro/)

The topic ‘Adding a certificate validation option’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cas-maestro_009fe3.svg)
 * [CAS Maestro](https://wordpress.org/plugins/cas-maestro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cas-maestro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cas-maestro/)
 * [Active Topics](https://wordpress.org/support/plugin/cas-maestro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cas-maestro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cas-maestro/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [gpspake](https://wordpress.org/support/users/gpspake/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/adding-a-certificate-validation-option/)
 * Status: not resolved