Metadata to be consumed by remote party is generated based of a template file. It is referenced using the parameter "config.metadata_template.metadata_file_path". Administration of this file is handled outside the system and must include the necessary information such as entity id, binding location etc.
Signing of meta data, injecting certificates used and adding of SLO url is handled by the module.
Name
Description
Default value
Mandatory
id
Id to be used in URL when getting meta data. Id is used to reference the meta data.
N/A
Location of the template used.
N/A
Object for signing the meta data when exposed to clients.
Sign meta data key store
A single object used for signing the meta data
Name
Description
Default value
Mandatory
Location of the p12 key store
N/A
password of the key store
N/A
alias used to reference in the store.
N/A - Mandatory if multiple entries are located in the store.
Password to the private key.
N/A
Sign ref - key store
Configuration, array, for key pairs used to sign SAML messages. Multiple key stores is supported. Each entity is placed in the sign_ref array. Key store must be in PKCS#12 format.
Name
Description
Default value
Mandatory
Location of the p12 key store
N/A
password of the key store
N/A
alias used to reference in the store.
N/A - Mandatory if multiple entries are located in the store.
Password to the private key.
N/A
Encryption ref - key store
Same as sign ref, sign_ref, but for encryption.
See sign ref properties.
Meta data consumption
Setting up trust with an external party is done by consuming it's meta data. This can be done by either a file or using an url.
Name
Description
Default value
Mandatory
path
File path to the meta data
N/A
Either path or url.
url
HTTP url to the metadata.
N/A
Either path or url.
Generating metadata
In order to get metadata generated by the system point your browser to:
Ensure adding LunaProvider.jar to java class path. Add knowledge to libLunaAPI.so/LunaAPI.dll "java.library.path". Typically setting -Djava.library.path pointing to directory where the file is located.
Name
Description
Defalut value
Mandatory
slot
HSM slot
N/A
pin
HSM pin.
N/A
alias
Alias handle.
N/A
Tested and verified with Thales Luna A7x series
Loading of remote meta data
Failing to get meta data for the first time will result in retries every 20 seconds until meta data is loaded.
Meta data target is checked on set intervall (every 20 minutes by default) for information update. Meta data is reloaded based on valid until, if present. Otherwise every four hours.
Using expansion in meta data template
XML meta data template has some understanding of "expansion". It knows the concept of globals. By using globals it will allow for conffiguration like "<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" entityID="${globals.idp1.idp_entityid}"".