I found the answer on ServerFault (link).
# openssl crl2pkcs7 -nocrl -certfile bundle.crt | openssl pkcs7 -print_certs -text -noout
# openssl crl2pkcs7 -nocrl -certfile bundle.crt | openssl pkcs7 -print_certs -text -noout
# sed -i 's|saml[1-2]-.*\.php/[a-zA-Z0-9\-]*|&-dev|