diff --git a/commul-customization/shibboleth_sp_with_fastcgi.sh b/commul-customization/shibboleth_sp_with_fastcgi.sh
index 5486b399dfc559290a0141e33c77652f7947cc57..f0055214b444868d3471d9a33fd8f1c681aee06f 100644
--- a/commul-customization/shibboleth_sp_with_fastcgi.sh
+++ b/commul-customization/shibboleth_sp_with_fastcgi.sh
@@ -26,10 +26,10 @@ get xerces-c 3.2.0 http://mirror.hosting90.cz/apache/xerces/c/3/sources/
 get xml-security-c 1.7.3 http://mirror.hosting90.cz/apache/santuario/c-library/
 get xmltooling 1.6.0 http://shibboleth.net/downloads/c++-opensaml/latest/
 get opensaml 2.6.0 http://shibboleth.net/downloads/c++-opensaml/latest/
-get shibboleth-sp 2.6.0 http://shibboleth.net/downloads/service-provider/latest/
+get shibboleth-sp 2.6.1 http://shibboleth.net/downloads/service-provider/latest/
 
-sed -i '676,679 s/^/\/\//' shibboleth-sp.2.6.0/shibsp/handler/impl/MetadataGenerator.cpp
-sed -i '687,688 s/^/\/\//' shibboleth-sp.2.6.0/shibsp/handler/impl/MetadataGenerator.cpp
+sed -i '676,679 s/^/\/\//' shibboleth-sp.2.6.1/shibsp/handler/impl/MetadataGenerator.cpp
+sed -i '687,688 s/^/\/\//' shibboleth-sp.2.6.1/shibsp/handler/impl/MetadataGenerator.cpp
 
 function compile {
     local dirname=$1