laravel-saml2
laravel-saml2 copied to clipboard
Load private keys and certificates from file (in openssl format)
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:
- $config['sp']['x509cert']
- $config['sp']['privateKey']
- $config['idp']['x509cert']
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.
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
@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