PowerDNS-Admin/powerdnsadmin
Neven1986 567430790c SAML certificate fix and enhancement
Problems resolved:

- Method create_self_signed_cert() was invoked nowhere. This puts parameter "SAML_SIGN_REQUEST" description in configs/development.py as incorrect
- Method create_self_signed_cert() was returning error while trying to write out certificate and private key. File handler was opened for writing out TEXT instead of BINARY data

Enhancements:

- Two new parameters are introduced SAML_CERT_FILE and SAML_KEY_FILE. User can now explicitly define own certificate and key file anywhere on file-system.
- If parameters mentioned in previous bullet aren't explicitly defined, in PowerDNS-Admin root directory self-signed certificate will be created.
- Certificates will be used or generated in any case, because in saml.py there are explicit parameters defined which require certificate/key in order to work normally. If they aren't, exception will be thrown. Examples of parameters defined in saml.py requiring certificate: wantAssertionsEncrypted, signMetadata, wantAssertionsSigned.
2019-12-19 00:40:25 +01:00
..
lib SAML certificate fix and enhancement 2019-12-19 00:40:25 +01:00
models Merge pull request #599 from ngoduykhanh/global_search 2019-12-11 16:56:06 +07:00
routes Correction of redirect URL after successful SAML login 2019-12-15 01:15:30 +01:00
services SAML certificate fix and enhancement 2019-12-19 00:40:25 +01:00
static Fix #602 domain table with long records 2019-12-13 21:22:58 +07:00
templates Fix #602 domain table with long records 2019-12-13 21:22:58 +07:00
__init__.py Bug fixes. Adjust logger 2019-12-10 17:08:43 +07:00
assets.py Refactoring the code 2019-12-02 10:32:03 +07:00
decorators.py Update README and LGTM fixes 2019-12-08 18:23:36 +07:00
default_config.py Update docker stuff and bug fixes 2019-12-04 11:50:46 +07:00
swagger-spec.yaml Refactoring the code 2019-12-02 10:32:03 +07:00