saml2-bridge-bundle | Symfony bundle that provide a SAML Identity Provider | Authentication library
kandi X-RAY | saml2-bridge-bundle Summary
kandi X-RAY | saml2-bridge-bundle Summary
A bundle that adds SAML capabilities to your application using simplesamlphp/saml2 highly inspired by OpenConext/Stepup-saml-bundle.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Builds the workflow definition .
- Process a single logout request .
- Creates a SignatureRequest from received data .
- Add hosts section .
- Sign a SAML2 response .
- Creates a ReceivedMessage from received data .
- Parse Hosted IdP configuration .
- Get the response form .
- Returns the configured identity provider .
- Set the not before the assertion .
saml2-bridge-bundle Key Features
saml2-bridge-bundle Examples and Code Snippets
Community Discussions
Trending Discussions on saml2-bridge-bundle
QUESTION
i've got a problem with the certificates i think. I've set up my idp and tested it with https://samltest.id/start-idp-test/. I'm using Symfony 3.4 with this bundle to create the idp.
Now i want to add talentlms . I've created a self signed certificate on the server with the following command:
openssl req -new -x509 -sha256 -newkey rsa:4096 -nodes -keyout key.pem -out cert.pem -days 365
I've placed the files under app/Resources/saml_keys/ and added this path in the config:
...ANSWER
Answered 2019-May-13 at 13:02I've found the problem. On my server i can't use the -sha256
flag. My new openssl command is
openssl req -x509 -nodes -newkey rsa:4096 -keyout key_4096.pem -out cert_4096.pem -days 3655
On talentlms i needed to put the cert file in the config. The generated hash was also wrong, because talentlms does not save the cert correctly. I've added a generated sha1 hash on my own and it worked.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install saml2-bridge-bundle
Add the package to your Composer file composer require adactive-sas/saml2-bridge-bundle
Add the bundle to your kernel in app/AppKernel.php public function registerBundles() { // ... $bundles[] = new AdactiveSas\Saml2BridgeBundle\AdactiveSasSaml2BridgeBundle(); }
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page