Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space IDS and version 8.2

Contents

Table of Contents
excludeContents

Introduction

The Ubisecure SSO configuration files use a macro language that can, for our purposes, be described in the following way:

...

  • The variable compile.dir is the base directory of the Ubisecure SSO installation, e.g., C:\Program Files\Ubisecure\ubilogin-sso\ubilogin.

Processing suffixes

Variable suffixes in the macro language may or may not contain special processing rules. If a variable ends with a special processing suffix, the preceding string is evaluated recursively and then the final processing suffix is applied to the current value. Processing suffixes are, as follows:

SuffixDescriptionExampleProduces
.host.dnThis can be appended to a variable that contains a fully qualified domain name (FQDN). Appending the suffix will transform the variable to a X.509 Distinguished Name.

uas.url = https://www.example.org:8443/

uas.url.host.dn→ dc=www,dc=example,dc=org
.url.hostThis can be appended to a URL and it will parse the FQDN from the URL string.

uas.url = https://www.example.org:8443/

example = @uas.url.host@

example → www.example.org
.base64This suffix can be appended to any text string. It will take the original text and base64 encode it.

uas.url = https://www.example.org:8443/

example = @uas.url.base64@

example → aHR0cHM6Ly93d3cuZXhhbXBsZS5vcmc6ODQ0My8=
.password

Appending this suffix to any variable, will cause the value to be autogenerated if it is left empty. Non-empty variables will be preserved as-is. Generation will ensure that the generated 24-character string will hold following character classes:

  • Upper-case (reduced) ASCII alphabetic characters
  • Lower-case (reduced) ASCII alphabetic characters
  • Numeric characters

The generated passwords are reduced so that the do not contain letters or numbers that can easily be mistaken for one-another.

example.password =example.password → aB123cD4ffZZ
.secret

Appending this suffix to any variable will cause the value to be automatically generated if it is left empty. Non-empty variables will be preserved as-is. Generation will ensure that the generated 24-character string will hold following character classes .

  • Upper case ASCII alphabetic characters
  • Lower case ASCII alphabetic characters
  • Special characters
  • Numeric characters
example.password =example.password → )aesw-r46AA&a1a2BDKjAQQ!
.encryptAppending this suffix to any variable, will encrypt the preceding, evaluated value with the shared secret from the master.secret variable.

example.password = secret

example = @example.password.encrypt@

example → {3DES}jq7UmTE7iUs=

.digestAppending this suffix to any variable, will creates a digested value of the preceding evaluated variable.

example.secret = secret

example = @example.secret.digest@

example → {SSHA}DuOQ/St6IjMHWXkvS3jQ7SETSNg5CUCc6Qkbmw==
.password.encoding

This suffix can be appended to a variable ending with ".password", this will ensure that a certain algorithm be applied to the .digest or .password suffixes. Possible values are:

  • MD4: applies to .digest
  • SSHA: applies to .digest
  • 3DES: applies to .encrypt

example.password.encoding={MD4}

example.password = secret

example.password2.encoding={3DES}


@example.password.digest@ → {MD4}h42AFGBs2ilnekTvoTU/xw==

@example.password.encrypt@ → {3DES}bk8jbCfyChU=

.uuidAppending this suffix to a variable name - that has no existing function nor value - will cause an uuid to be generated.example.uuid =example.uuid → abcd1234:ab12:ab12:ab12:abcd1234abcd
.urn:uuidSimilar as the ".uuid" suffix, but in this case the generated value will be prefixed by a "urn:uuid:" stringexample.urn\:uuid = example.urn:uuid → urn:uuid:abcd1234:ab12:ab12:ab12:abcd1234abcd
.esc

Appending this to a variable will cause the underlying generated value to have its following characters escaped with a "\" character.

  • "\"
  • "="
  • ":"
example = http://example.com?one=two@example.esc@ → http\://example.com?one\=two
./Appending this suffix to a variable will cause the value to have all its backslashes replaced with forward slashes.example = something\else@example./@ → something/else
.&Appending this suffix to a variable will cause the value to have all its "&", "<" and ">" characters to be XML encoded.example = <element>&</element>@example.&@ → &lt;element&gt;&amp;&lt;/element&gt;
.%Appending this suffix to a variable will cause the value to be URL encoded.example = http://www.example.com?one=two@example.%@ → http%3A%2F%2Fwww.example.com%3Done%3Dtwo
.cmdAppending this suffix to a variable will cause the value to be escaped to be suitable for use in Windows cmd scriptsexample = &ecre_t@example.cmd@→ ^&ecre_t
.cmd!Appending this suffix to a variable will cause the value to be escaped to be suitable for use in Windows cmd scripts with delayedexpansion enabledexample = secre_!@example.cmd!@ → secret_^^^!
.url.portAppending this suffix to a variable containing a URL, will cause the value to be the port associated with the URL. Default port is determined based on scheme.example.url = ldaps://localhost/dc=localhost@example.url.port@ → 636
.url.schemeAppending this suffix to a variable containing a URL will cause the value to be the scheme associated with the URL.example.url = ldaps://localhost/dc=localhost@example.url.scheme@ → ldaps
.url.secureAppending this suffix to a variable containing a URL will cause the value to be the boolean value denoting if the protocol is expected to be secure.example.url = ldaps://localhost/dc=localhost@example.url.secure@ → true
.nameAppending this suffix to a variable containing a distinguished name, will cause the output to be omitted if the input value would be an invalid x.509 Distinguished Name..example = cn=person@example.name@ → cn=person
.toURIAppending this suffix to a variable containing a file path will cause the value to be converted to a URI representation of the path..example = C:\Windows@example.toURI@ → file:/C:/Windows
.toFileAppending this suffix to a variable containing a URI representation of a file path will cause the value to be converted to a path.example = file:/C:/Windows@example.toFile@ → C:\Windows



Note

NOTE: The individual Ubisecure applications below are using the default @uas.url@ parameter. This means that all of the required applications are installed to the same address. Each application will have its name appended to the url address. In demonstration and development environments, no changes are typically required.

If you wish to install components to different addresses, you must change the value to match the desired destination.

For example, the applications:

  • uas
  • password

are typically public applications available to all end users.

The applications

  • ubilogin
  • logviewer
  • search

however are for system administrators.

To publish system administrator tools at a different address (e.g., an intranet domain), adjust the application URLs accordingly, e.g.:

ubilogin.url = https://admin.ubilogin.intra/

See below for settings uas.url, password.url, ubilogin.url, logviewer.url and search.url.

Parameters

master.secret

Code Block
languagetext
master.secret =

The encryption keys for confidential values stored in the Ubisecure Directory are derived from the master.secret value. If you are upgrading (seeUpgrade - SSO Upgrade) or reinstalling then you must use the existing master.secret value for your directory.

The default value is empty. The empty value is an indication for the setup script to securely generate a new secret. The new generated secret is then stored in the configuration file.

suffix.pfx 

Code Block
languagetext
suffix.pfx =

This field is a placeholder for the key pair required in SAML signing operations. A base64 encoded PKCS#12 file will be generated to this field by the setup script in Configuration and Setup Application to Create Configurationssetup application to create configurations. The file is protected by the master.secret. Leave this field empty during initial installation.

uas.url 

Code Block
languagetext
uas.url = https://localhost:8443

...

This address must be accessible for all users of this installation. In an installation with front-end reverse proxy servers this address refers to the first front-end server that is accessible from the public network.

ubilogin.url 

Code Block
languagetext
ubilogin.url = @uas.url@

This is the publicly visible URL address of the Ubisecure SSO Management. The value must not include a path component and must not end with a ‘/’ character.

password.url 

Code Block
languagetext
password.url = @uas.url@

This is the publicly visible URL address of the Ubisecure Password management application. The value must not include a path component and must not end with a ‘/’ character.

logviewer.url 

Code Block
languagetext
logviewer.url = @uas.url@

This is the publicly visible URL address of the Ubisecure Logviewer application. The value must not include a path component and must not end with a ‘/’ character.

search.url 

Code Block
languagetext
search.url = @uas.url@

This is the publicly visible URL address of the Ubisecure Search application. The value must not include a path component and must not end with a ‘/’ character.

password.url 

Code Block
languagetext
password.url = @uas.url@

This is the publicly visible URL address of the Ubisecure Password application. The value must not include a path component and must not end with a ‘/’ character.

logs.dir 

Code Block
languagetext
logs.dir = @compile.dir@/logs

The path of the folder for run-time generated log files. The default value is a logs sub-directory of the installation folder. Enter a fully qualified path without a trailing ‘/’ character.

netmask 

Code Block
languagetext
netmask = disabled

The network address of the browser clients is used to keep track of user sessions. The netmask is used determine if the client’s network address is allowed to change. The default value disabled allows the client’s network address to change during a session, whereas the value 255.255.255.255 would not allow the address to change during a session.

system.password

Code Block
languagetext
system.password = admin

...

The default value must be changed immediately after installation. You can also leave this field empty and let the configuration application randomly generate a new password.

ldap.url

Code Block
languagetext
ldap.url = ldap://localhost:389

...

If you are running the LDAP in the same server as Ubisecure SSO, please do not change the localhost address.

suffix

Code Block
languagetext
suffix = cn=Ubilogin,@uas.url.host.dn@

...

  • The directory name derived from the uas.url value https://localhost:8443 is cn=Ubilogin,dc=localhost
  • The directory name derived from the uas.url value https://sso.example.com:8443 is cn=Ubilogin,dc=sso,dc=example,dc=com

password.encoding

Code Block
languagetext
password.encoding =

...

Please note that the password encoding of the Ubisecure SSO accounts is managed using the Ubisecure SSO Management application.

Reverse Proxy Configuration

Code Block
languagetext
proxy.remote-addr-name =  
proxy.local.url = @uas.url@

...

Code Block
languagetext
proxy.local.url = http://ubilogin.local

Linux and OpenLDAP Settings

Code Block
languagetext
ubilogin.run = /var/run/ubilogin
openldap.root.password = secret
ubilogin.unix.username = ubilogin
ubilogin.unix.groupname = @ubilogin.unix.username@

...

The name of the user’s group for the user that will be used to run the Ubisecure SSO and the Ubisecure Directory processes.

Microsoft ADAM and Microsoft AD LDS Settings

Code Block
languagetext
adam.instance = UbiloginDirectory
adam.ldap.port = 389
adam.ldaps.port = 636

...

These settings will define the ADAM port numbers for plaintext and SSL protected communication

Tomcat Instance Name

tomcat.instancename = UbiloginServer

...