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 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.



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: Logo

You are commenting using your 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.

Blog at

Up ↑

%d bloggers like this: