$ openssl genrsa -out demo.key 2048 $ openssl req -new -x509 -key demo.key -out demo.cer -days 365 # webapp.conf { SAML => { key => 'path/to/demo.key', cert => 'path/to/demo.cert', idp => 'path/to/remote_idp.xml', location => 'https://demo.example.com/saml', entity_id => 'my-entity-id', # omit to default to location } }
To install Mojo::SAML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojo::SAML
CPAN shell
perl -MCPAN -e shell install Mojo::SAML
For more information on module installation, please visit the detailed CPAN module installation guide.