-
Configuring Apache for Shibboleth on CentOS to the ukfederation w/ Godaddy certs
Part 3. Apache config. (1 hour)
cd /etc/shibboleth openssl genrsa -des3 -out external.key 2048 openssl req -new -key external.key -out external.csr
The above will create a CSR request for your resource, when asked what the common name is enter something like shib.yourdomain.com - DO NOT use sp.yourdomain.com or the same common name as you used to register your SP!
Edit the CSR and copy its contents into clipboard. Then login to your godaddy hosting account and paste the CSR request into your certificate request.
Godaddy will do their thing then get back to you with a CRT a few files usually within 24 hours.When they get back to you with the files copy or download them the files to /etc/shibbolethRename shib.yourdomain.com.crt to external.crtRename gd_bundle.crt to external_int.crt and place it in /etc/shibbolethEdit /etc/httpd/conf.d/ssl.confReplaceSSLCertificateKeyFile /etc/pki/tls/private/localhost.keyWithSSLCertificateKeyFile /etc/shibboleth/external.keyReplaceSSLCertificateFile /etc/pki/tls/private/localhost.crt
WithSSLCertificateFile /etc/shibboleth/external.crtUnder SSLCertificateKeyFile paste SSLCertificateChainFile /etc/shibboleth/external_int.crtEdit /etc/httpd/conf/httpd.confReplaceUseCanonicalName OffWithUseCanonicalName OnFind the line beginning with ServerNameComment it outBelow it type ServerName shib.yourdomain.com:80
/usr/sbin/apachectl restart/usr/sbin/apachectl startThe above commands will restart Apache or start it if it hasn't already been startedEdit /etc/sysconfig/iptables & above all REJECT rules paste:-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8443 -j ACCEPT/sbin/service iptables restartIf everything restarts without any errors then:Continue to the testing phaseRelated Posts
Latest Videos
Sponsors
- What makes a good teacher? February 5, 2012 malbell
- The 100 word Challenge February 4, 2012 Tim
- Vizualization of significant data (Calendaring/Distance) February 4, 2012 John McLear
- Class blogs & cigarettes: Is free in return for ads OK? February 3, 2012 oliverquinlan
- Capzles February 3, 2012 Tim
- How things have changed February 3, 2012 malbell
- #OliverTweets February 3, 2012 Chris Leach





Pingback: Configuring Shibboleth SP 2 on CentOS to the ukfederation w/ Godaddy certs | John McLear's School Technology