MobilityGuard Tips och Tricks

Create http headers

Base 64 encode mgpwd

X-TEST                     PARM{base64encode(PARM[mgpwd])}

MD5 Sum on password

X-TEST                      PARM{base64encode(PARM[mgpwd])}

 

Saml

Saml attribute to send in personal id if you login with e-id or webtoken definision by ldap1 attirubute under Database settings

The custom fields can be used as parameters for dynamic content
e.g. in the menu. They are accessed with PARM{ldap1}, PARM{ldap2} etc.

urn:oid:1.3.6.1.4.1.2428.90.1.5

PARM{function:ifeq(PARM[mgauthmethod],webtoken,PARM[ldap1])else(PARM[mguid])}

 

Create certificate to use with sp and OneGate

openssl genrsa 4096 | openssl pkcs8 -topk8 -nocrypt -outform der > saml-priv.der && openssl req -new -subj “/CN=kund-OneGate-IDP” -x509 -days 1095 -keyform der -key saml-priv.der -outform der -out saml-cert.der

This will generate a 4096 RSA private key (saml-priv.der) and a 3 years valid certificate

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.