The list below provides an overview of the main phases in the installation process.
- Decide whether to create an unregistered or registered MPKI method
- Decide which personal identity attribute (if any) SSO Server should query from the MSSP regarding the user.
- Create the method in SSO management application
- Create the following files: etsimss.properties, policy.xml, ssl-policy.xml
- Edit config.index to attach the etsimss.properties file to the method
- Test the configuration
The following sections provide detailed information regarding the phases:
Creating the Mobile PKI Method
To create a new authentication method in Ubisecure SSO Management application:
- Select "Global Method Settings" → "New Method…"
Give a name for the method and select 'Unregistered Mobile PKI' or 'SPI Mobile PKI' as the method type. If 'SPI Mobile PKI' is chosen a directory must be specified.
- Click OK
Enable the method by checking the "Enabled" checkbox as shown in the following figure:
Note the configuration parameters:
- properties.file → points to etsimss.properties file
- spamcode_required → put "false" if you want the users to try the login first without the spamcode
Configuring the Mobile PKI Method
The next step is to configure the method. This is done in etsimss.properties file. The properties file holds all the configuration information and references to the certificates. These certificates and configuration strings are determined from the resources the MSSP has provided.
Create a new folder methods/etsimss in the SSO installation directory. After the steps defined in this chapter, the folder should contain the following files: etsimss.properties, client.p12, ssl.xml, policy.xml
Required Certificates and XML Files for Storing Them
The following table describes the required certificates and the XML files for storing them:
The client certificate in PKCS12 format with private key included in the file.
The client certificate used to identify the Ubisecure SSO Server to the MSSP for the SSL connection.
To create the proper ssl.xml file:
The MSSP CA server certificate in base64 form. The CA certificate is used to identify the MSSP when creating the SSL connection.
To create a proper policy.xml file:
The certificate that is used to confirm the signature the MSSP provides to Ubisecure SSO Server at the end of the transaction. The concept of the policy.xml file is same as in ssl.xml.
This file holds the information of the configuration strings and references to the three files defined in the table above. The various attributes that must be used in the configuration file are provided in the table below:
NOTE: The policy.xml , ssl-policy.xml and client.cert attributes define a file location while the other attributes define a configuration string.
apId defines the Application Provider's unique URI-type identifier with which the AP is registered to use the AE's services.
apPwd defines the password used in authenticating the Application Provider.
Client.cert defines the path to the client certificate.
client.cert.password defines the password used for protecting the client certificate and the private key.
ssl-policy.xml defines the path to the XML file containing the MSSP root CA in base64 form. This certificate is used to check the MSSP server certificate when creating the SSL connection.
policy.xml defines the path to the XML file containing the certificate that is used to confirm the signature the MSSP provides to Ubisecure SSO.
ae.signatureUrl defines the URL for making signature requests to the MSSP.
ae.statusUrl defines the URL for making status requests to the MSSP.
personIdentityAttributes defines the attributes that SSO Server will query from the MSSP regarding the user. Multiple personIdentityAttributes are separated with a white space character. This is the only configuration string where you have to make a decision. It is essential to define this attribute if you are using an unregistered MPKI method.
ae.timeout (optional) defines how long SSO keeps querying the MSSP before terminating the authentication process. The value is in minutes. Default value is 5.
ae.signatureProfile (optional) defines the signature profile. The only supported signatureprofile is authentication profile (http://mss.ficom.fi/TS102206/v1.0.0/authentication-profile.xml). However, this profile can be overridden with the supplied value.
xml.parser.validation (optional) defines whether the xml responses will be validated against the schema. Use for debugging purposes only.
eventIdLength (optional) defines the length of generated EventID. Default value is 8.
initialStatusRequestDelay (optional) defines the delay before the first status request is sent after the initial transaction request. The value is in milliseconds. Default value is 15000.
consecutiveStatusRequestDelay (optional) defines the delay of the consecutive status requests after the first status request. The value is in milliseconds. Default value is 5000.
threadPoolSize (optional) defines the number of threads available in the thread pool dedicated to processing ETSIMSS requests and responses. Minimum value is 1. Maximum value is 20. Default value is 1.
After all the necessary Attribute values in etsimss.properties configuration file have been set, the file's contents should look similar to the example below:
Correct methods/etsimss Directory Contents
The methods/etsimss directory should contain at least the files shown in Figure 3 with the contents described above.
|Figure 3 methods/etsimss directory with the required files|
Configuring An Application to Use the Mobile PKI Method
This chapter describes how to configure an application to use the mobile PKI method.
- A mobile PKI method has been created and configured as explained in the previous sections.
An appropriate type of application has been integrated to Ubisecure SSO. For instance, "SAML SP for Java.
NOTE: the "Sample application" available in Ubisecure extranet can be used to verify the configuration.
Application Configuration Process for Unregistered Mobile PKI method
Select the site where the application is to be created and add the mpki.etsi.1 to the methods of the site
Create a group in the site. Select "Groups" → "New Group"
Enable mpki.etsi.1 method in the group
Enable mpki.etsi.1 method in the application
Add the mobile PKI users group to the "Allowed To" list in the application
Application Configuration Process for Registered Mobile PKI method
The application configuration steps for the registered Mobile PKI method are the same as above with two exceptions:
- The group must contain the users
- The method type must be "SPI Mobile PKI" (selected in Mobile PKI method creation)