Changes between Version 29 and Version 30 of idpiam2018
- Timestamp:
- Sep 13, 2018, 8:34:17 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
idpiam2018
v29 v30 186 186 Create the file `/etc/apache2/sites-available/idp-ssl.conf` as follows: 187 187 188 {{{ 188 {{{#!apache 189 189 <IfModule mod_ssl.c> 190 190 SSLStaplingCache shmcb:/var/run/ocsp(128000) … … 236 236 }}} 237 237 238 {{{ 238 {{{#!apache 239 239 <VirtualHost *:80> 240 240 ServerName "idp.instXY.ac.lk" … … 263 263 vim /etc/apache2/site-available/idp.conf 264 264 }}} 265 {{{ 265 {{{#!apache 266 266 <VirtualHost *:80> 267 267 ServerName idp.instXY.ac.lk … … 355 355 Comment out the Connector 8080 (HTTP): 356 356 357 {{{ 357 {{{#!xml 358 358 <!-- A "Connector" represents an endpoint by which requests are received 359 359 and responses are returned. Documentation at : … … 372 372 373 373 Enable the Connector 8009 (AJP): 374 {{{ 374 {{{#!xml 375 375 <!-- Define an AJP 1.3 Connector on port 8009 --> 376 376 <Connector port="8009" protocol="AJP/1.3" redirectPort="443" address="127.0.0.1" enableLookups="false" tomcatAuthentication="false"/> … … 389 389 sudo vim /etc/tomcat8/Catalina/localhost/idp.xml 390 390 }}} 391 {{{ 391 {{{#!xml 392 392 <Context docBase="/opt/shibboleth-idp/war/idp.war" 393 393 privileged="true" … … 400 400 vim /etc/apache2/sites-available/idp-proxy.conf 401 401 }}} 402 {{{ 402 {{{#!apache 403 403 <IfModule mod_proxy.c> 404 404 ProxyPreserveHost On … … 584 584 }}} 585 585 * log in to your MySQL Server with `mysql -u root -p` and continue. Make sure to replace `##ROOT-DB-PASSWORD##`, `##USERNAME##`, `##PASSWORD##` with your own 586 {{{ 586 {{{#!sql 587 587 SET NAMES 'utf8'; 588 588 … … 654 654 vim /opt/shibboleth-idp/conf/saml-nameid.xml 655 655 }}} 656 Remove the comment from the line containing: 657 * 658 {{{ 656 Remove the comment from the line containing: 657 {{{#!xml 659 658 <ref bean="shibboleth.SAML2PersistentGenerator" /> 660 659 }}} … … 663 662 vim /opt/shibboleth-idp/conf/c14n/subject-c14n.xml 664 663 }}} 665 Remove the comment to the bean called "'''c14n/SAML2Persistent'''".666 {{{ 664 Remove the comment to the bean called "'''c14n/SAML2Persistent'''". 665 {{{#!xml 667 666 <ref bean="c14n/SAML2Persistent" /> 668 667 }}} 669 668 27. Enable '''JPAStorageService''' for the '''!StorageService''' of the user consent: 670 * `vim /opt/shibboleth-idp/conf/global.xml` and add this piece of code to the tail before the ending \</beans\>:671 672 {{{ 669 * `vim /opt/shibboleth-idp/conf/global.xml` and add this piece of code to the tail before the ending </beans>: 670 671 {{{#!xml 673 672 <!-- A DataSource bean suitable for use in the idp.persistentId.dataSource property. --> 674 673 <bean id="MyDataSource" class="org.apache.commons.dbcp.BasicDataSource" … … 705 704 706 705 * Modify the IdP configuration file: 707 *706 * 708 707 {{{ 709 708 vim /opt/shibboleth-idp/conf/idp.properties … … 761 760 (If you decide to use the Solution 2, you have to remove (or comment out) the following code from your Attribute Resolver file: 762 761 763 {{{ 762 {{{#!xml 764 763 </dc:FilterTemplate> 765 764 <!-- … … 781 780 vim /opt/shibboleth-idp/conf/logback.xml 782 781 }}} 783 {{{ 782 {{{#!xml 784 783 <!-- Logs LDAP related messages --> 785 784 <logger name="org.ldaptive" level="${idp.loglevel.ldap:-WARN}"/> … … 794 793 }}} 795 794 * Modify `services.xml` file: `vim /opt/shibboleth-idp/conf/services.xml` 796 {{{ 795 {{{#!xml 797 796 <value>%{idp.home}/conf/attribute-resolver.xml</value> 798 797 }}} 799 798 must become: 800 799 801 {{{ 800 {{{#!xml 802 801 <value>%{idp.home}/conf/attribute-resolver-v1-LEARN.xml</value> 803 802 }}} … … 810 809 vim /opt/shibboleth-idp/metadata/metadata.xml 811 810 }}} 812 {{{ 811 {{{#!xml 813 812 <IDPSSODescriptor> SECTION: 814 813 – From the list of "protocolSupportEnumeration" remove: … … 876 875 vim metadata-providers.xml 877 876 }}} 878 {{{ 877 {{{#!xml 879 878 <MetadataProvider 880 879 id="HTTPMD-LEARN-Federation" … … 932 931 vim /opt/shibboleth-idp/conf/services.xml 933 932 }}} 934 {{{ 933 {{{#!xml 935 934 <bean id="Default-Filter" class="net.shibboleth.ext.spring.resource.FileBackedHTTPResource" 936 935 c:client-ref="shibboleth.FileCachingHttpClient"