Sign inSign up

stevecrozz/saml-sp-proxy

By stevecrozz

Updated over 8 years ago

SAML SP reverse proxy for protecting a back end web service

Image
0

955

stevecrozz/saml-sp-proxy repository overview

SAML 2.0 Service Provider and Reverse Proxy

docker run --rm -it \
  -v /path/to/data:/data stevecrozz/saml-sp-proxy \
  -idp-metadata /data/idp-metadata.xml \
  -service-certificate /data/cert \
  -service-key /data/key \
  -service-root-url "https://myurl.com" \
  -target "http://underlying-service"

Since crewjam/saml/samlsp requires a set of SP keys (see https://github.com/crewjam/saml/issues/149), you'll need a pair even if you don't use them. You can create them like this:

openssl req -x509 \
  -newkey rsa:2048 \
  -keyout key \
  -out cert \
  -days 365 \
  -nodes -subj "/CN=myservice.example.com"

Copied from https://github.com/dustin-decker/saml-proxy and modified from there. Thanks to @dustin-decker for the working starting point.

Tag summary

Content type

Image

Digest

Size

3.9 MB

Last updated

over 8 years ago

docker pull stevecrozz/saml-sp-proxy