aerialship / SamlSPBundle

SAML 2.0 Symfony SP Bundle - new version available at
http://www.lightsaml.com/SP-Bundle/
MIT License
63 stars 43 forks source link

Assertion must be signed error #47

Closed anakinjay closed 10 years ago

anakinjay commented 10 years ago

Can't seem to get this working right, every time I try to login I get an "assertion must be signed" response. I thought setting the cert and key in security.yml would have fixed it but I guess not.

Any idea what I'm doing wrong?

Error Reponse:

Assertion must be signed
#0 C:\WWW\nginx\html\symfony\var\cache\dev\classes.php(121): session_start()
#1 C:\WWW\nginx\html\symfony\var\cache\dev\classes.php(199): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
#2 C:\WWW\nginx\html\symfony\var\cache\dev\classes.php(495): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->getBag('attributes')
#3 C:\WWW\nginx\html\symfony\vendor\symfony\symfony\src\Symfony\Component\Security\Http\Firewall\ContextListener.php(76): Symfony\Component\HttpFoundation\Session\Session->get('_security_saml')
#4 C:\WWW\nginx\html\symfony\var\cache\dev\classes.php(2460): Symfony\Component\Security\Http\Firewall\ContextListener->handle(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent))
#5 [internal function]: Symfony\Component\Security\Http\Firewall->onKernelRequest(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher))
#6 C:\WWW\nginx\html\symfony\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\Debug\WrappedListener.php(59): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher))
#7 [internal function]: Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher))
#8 C:\WWW\nginx\html\symfony\var\cache\dev\classes.php(1747): call_user_func(Object(Symfony\Component\EventDispatcher\Debug\WrappedListener), Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher))
#9 C:\WWW\nginx\html\symfony\var\cache\dev\classes.php(1680): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'kernel.request', Object(Symfony\Component\HttpKernel\Event\GetResponseEvent))
#10 C:\WWW\nginx\html\symfony\var\cache\dev\classes.php(1844): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.request', Object(Symfony\Component\HttpKernel\Event\GetResponseEvent))
#11 C:\WWW\nginx\html\symfony\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher.php(112): Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.request', Object(Symfony\Component\HttpKernel\Event\GetResponseEvent))
#12 C:\WWW\nginx\html\symfony\var\bootstrap.php.cache(2942): Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('kernel.request', Object(Symfony\Component\HttpKernel\Event\GetResponseEvent))
#13 C:\WWW\nginx\html\symfony\var\bootstrap.php.cache(2915): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#14 C:\WWW\nginx\html\symfony\var\bootstrap.php.cache(3064): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#15 C:\WWW\nginx\html\symfony\var\bootstrap.php.cache(2314): Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#16 C:\WWW\nginx\html\symfony\web\app_dev.php(29): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#17 {main}
NULL
anakinjay commented 10 years ago

This ended up being an issue with the IDP not signing. please delete.