Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task/saml2 conf for idp #195

Merged
merged 16 commits into from
Nov 30, 2021
Merged

Task/saml2 conf for idp #195

merged 16 commits into from
Nov 30, 2021

Conversation

AlvaroVega
Copy link
Member

@AlvaroVega AlvaroVega commented Nov 15, 2021

Doc:
https://github.com/telefonicaid/fiware-keystone-spassword/blob/task/saml2_conf_for_idp/docs/iotp_saml_idp.md

New docker tag version: 1.12.0_saml2
https://hub.docker.com/layers/telefonicaiot/fiware-keystone-spassword/1.12.0_saml2/images/sha256-226d8c4349c62d14c2cf821a1a22f9a1b6b519f8e7a2be6d81f38fbbfa56a46b?context=repo

This is how use new env vars for docker-compose:

    - SAML_ENDPOINT=localhost:5001
    - SAML_CERTFILE=/etc/keystone/ssl/server.crt
    - SAML_KEYFILE=/etc/keystone/ssl/server.key
  volumes:
    - /home/iotp/server.crt:/etc/keystone/ssl/server.crt
    - /home/iotp/server.key:/etc/keystone/ssl/server.key

@AlvaroVega
Copy link
Member Author

btw, this is how I create that certificate and key file for testing:

openssl genrsa -des3 -passout pass:xxxx -out server.pass.key 2048 
openssl rsa -passin pass:xxxx -in server.pass.key -out server.key
rm server.pass.key 
openssl req -new -key server.key -out server.csr \
    -subj "/C=ES/ST=DistritoT/L=Madrid/O=Telefonica/OU=Telefonica On premise platform/CN=telefonica.com"
openssl x509 -req -days 3000 -in server.csr -signkey server.key -out server.crt

@AlvaroVega AlvaroVega changed the title [WIP] Task/saml2 conf for idp Task/saml2 conf for idp Nov 30, 2021
docs/iotp_saml_idp.md Outdated Show resolved Hide resolved
docs/iotp_saml_idp.md Outdated Show resolved Hide resolved
docs/iotp_saml_idp.md Outdated Show resolved Hide resolved
docs/iotp_saml_idp.md Outdated Show resolved Hide resolved
docs/iotp_saml_idp.md Outdated Show resolved Hide resolved
AlvaroVega and others added 5 commits November 30, 2021 11:42
Co-authored-by: Fermín Galán Márquez <[email protected]>
Co-authored-by: Fermín Galán Márquez <[email protected]>
Co-authored-by: Fermín Galán Márquez <[email protected]>
Co-authored-by: Fermín Galán Márquez <[email protected]>
Co-authored-by: Fermín Galán Márquez <[email protected]>
Copy link
Member

@fgalan fgalan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fgalan fgalan merged commit 77c3818 into master Nov 30, 2021
@fgalan fgalan deleted the task/saml2_conf_for_idp branch November 30, 2021 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants