aacotroneo / laravel-saml2

A Laravel 5 package for Saml2 integration as a SP (service provider) based on the simple OneLogin toolkit
MIT License
567 stars 238 forks source link

Load private keys and certificates from file (in openssl format) #57

Open peetersdiet opened 7 years ago

peetersdiet commented 7 years ago

In our codebase I have added some code to load private keys and certificates from key- and certificatefiles. The files have to be in openssl format.

Supported configuration options:

The change adds a dependency to openssl to the codebase, but this is also a requirement for the Onelogin toolkit, so I see no BC breaks.

@aacotroneo If you're interested, I can push these changes to the laravel-saml2 codebase.

eric-nodes commented 7 years ago

hi peetersdiet, i'm interested by your code, can you share it ? i need to use certificates to encrypt requests between my sp and the idp thanks

peetersdiet commented 7 years ago

@eric-nodes Forgot about your question. I'll put together a pull request. If you still need it, you can merge the changes from my branch, if you can't wait for the pull request to be approved.

[edit] see PR #104 for the code