User Tools

Site Tools


сервис_cas

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
сервис_cas [2015/04/20 15:04]
val [Привязка серификата к Tomcat]
сервис_cas [2016/11/11 10:33]
val [Привязка серификата к Tomcat]
Line 4: Line 4:
   * [[http://​www.howtoforge.com/​configuring-cas-3.5.2-on-ubuntu-12.04-for-two-factor-authentication-from-wikid]]   * [[http://​www.howtoforge.com/​configuring-cas-3.5.2-on-ubuntu-12.04-for-two-factor-authentication-from-wikid]]
   * [[https://​wiki.jasig.org/​display/​CASUM/​RADIUS]]   * [[https://​wiki.jasig.org/​display/​CASUM/​RADIUS]]
 +  * [[http://​mvnrepository.com/​artifact/​org.jasig.cas/​cas-server-support-radius/​4.1.0]]
 +  * [[https://​sonnguyen.ws/​install-jasig-cas-ubuntu-14-04/​https://​sonnguyen.ws/​install-jasig-cas-ubuntu-14-04/​]]
 +  * [[http://​habrahabr.ru/​company/​tcsbank/​blog/​142407/​|Единая авторизация (SSO) средствами JASIG CAS. Часть 1]]
 +  * [[http://​jasig.github.io/​cas/​4.1.x/​protocol/​OpenID-Protocol.html]]
  
 ===== Сервер CAS ===== ===== Сервер CAS =====
Line 33: Line 37:
  
 ==== Привязка серификата к Tomcat ==== ==== Привязка серификата к Tomcat ====
 +
 +  * !!! Пароли на PKCS12 и на keystore должны совпадать !!!
  
 <​code>​ <​code>​
Line 62: Line 68:
 <​code>​ <​code>​
 casclient# apt-get install libapache2-mod-auth-cas casclient# apt-get install libapache2-mod-auth-cas
 +
 +casclient# a2enmod auth_cas
  
 casclient# cp int.geotrust.crt /​etc/​ssl/​certs/​ casclient# cp int.geotrust.crt /​etc/​ssl/​certs/​
Line 76: Line 84:
 </​code>​ </​code>​
  
-===== Клиент CAS (FreeBSD ​9.3) =====+===== Клиент CAS (FreeBSD ​10.1) =====
  
 <​code>​ <​code>​
-casclient# ​pkg_add -r ap22-mod_auth_cas+casclient# ​pkg install ap24-mod_auth_cas
  
-casclient# cat /​usr/​local/​etc/​apache22/​Includes/​auth_cas.conf+casclient# cat /​usr/​local/​etc/​apache24/​Includes/​auth_cas.conf
 </​code><​code>​ </​code><​code>​
-LoadModule auth_cas_module ​   libexec/apache22/​mod_auth_cas.so +LoadModule auth_cas_module ​   libexec/apache24/​mod_auth_cas.so 
-CASCookiePath ​  /var/​cache/​apache2/​mod_auth_cas/+CASCookiePath ​  /tmp/
 CASLoginURL https://​proxy.bmstu.ru:​8443/​cas/​login CASLoginURL https://​proxy.bmstu.ru:​8443/​cas/​login
 CASValidateURL https://​proxy.bmstu.ru:​8443/​cas/​serviceValidate CASValidateURL https://​proxy.bmstu.ru:​8443/​cas/​serviceValidate
Line 94: Line 102:
  
 <​code>​ <​code>​
 +# cat default
 +
 # cat default-ssl # cat default-ssl
 </​code><​code>​ </​code><​code>​
Line 103: Line 113:
                 AuthType CAS                 AuthType CAS
                 AuthName "TEST CAS AUTH"                 AuthName "TEST CAS AUTH"
-                ​require ​valid-user+                ​Require ​valid-user
         </​Directory>​         </​Directory>​
 ... ...
 </​code>​ </​code>​
сервис_cas.txt · Last modified: 2019/02/11 12:06 by val