Your own ID-Server
On premise installations of SecSign ID offer the flexibility to connect with your preferred servers, services, and devices. And you can customize the SecSign ID with your own organization’s branding.
Learn MoreUse SecSign ID to enable two factor authentication on your Windows Server with an easy and highly secure user login using iOS or Android mobile devices. SecSign ID two factor authentication adds another layer of security by using a second token. In this case the physical token is your smartphone. Alternatively, an one-time password based on RFC 6238 (TOTP: Time-Based One-Time Password Algorithm) may be used for the login.
Feel free to get in touch with us if you need help setting up your SecSign ID plugin or to request a plugin for a not yet supported environment.
This article describes the activation for your Active Directory users for the integration with your Windows system.
Your users are stored in the Active Directory. In order to activate the two-factor authentication for users and user groups you have two options.
Your users are managed in the Active Directory and can be divided in security groups, for example “2FA required” for administrators. The Active Directory has the information, that the user requires an additional authentication by an external Identity Provider (IdP) after a successful password and user name authentication.
This Identity Provider is the SecSign ID two-factor authentication server, that can be either run on-premise or in the SecSign ID Cloud.
The request is here similar to a SAML-authentication, all required information (user name, group,…) is transmitted to the IdP. The SecSign ID IdP can then start the Authentication with the received information.
Please contact us if you prefer to activate the 2FA without a schema extension.
MORE INFORMATIONThe Active Directory can be edited using mmc.exe which is part of Windows Server 2012. The Snap-in „Active Directory Schema“ is initially not available in mmc.exe, but can be added by running regsvr32 schmmgmt.dll in a console with administrator rights:
Then, mmc.exe should be started. The search function integrated into Windows Server 2012 will find it. The entry Add/Remove Snap-in in the File menu of mmc.exe opens a dialog containing the entry Active Directory Schema. This entry should be selected and added to the Console Root on the right, followed by a click on OK:
Selecting the Attributes node and choosing Create Attribute… from its context menu will display the following dialog.
Here, a „SecSign ID“ attribute has to be created with:
Then, the Properties entry in the context menu of the user entry below the Classes node will display this dialog.
The optional attribute secSignID created in the step before has to be added here.
Now the Active Directory schema is ready and the Windows administrator may add the actual SecSign ID user name to each user. The following Power Shell command assigns the SecSign ID user name paulsmith to the Windows user paul:
1 |
set-aduser paul -add @{secsignid="paulsmith"} |
To query the user’s SecSign ID:
1 |
get-aduser paul -Properties secSignID |
To delete the SecSign ID:
1 |
set-aduser paul -clear secSignID |
In larger installations there may be tool allowing the users to edit this value in the Active Directory themselves.
The SecSign ID credential provider adds an SecSign ID log-in after the interactive Windows log-on with user name and password. This affects direct log-ins at the PC as well as Remote Desktop connections.
The SecSign ID Credential Provider looks up the SecSign ID user name of a Windows user in the Active Directory of the Windows domain. Therefore:
Run SecSignCredProv-Setup.exe.
The installer will automatically download and install Microsoft’s Visual Studio 2015 runtime components as well as the .NET 4 runtime if not installed yet.
The SecSign ID Credential provider uses the following registry keys which you will find at HKLM\SOFTWARE\SecSign\CredentialProvider.
Please edit them to match your environment.
– ServiceNameForSecSignApp: The name of your service for which the login will be secured by the SecSign ID. The SecSignApp will display this text during the log-in.
– ServiceAddressForSecSignApp: The address of your service for which the login will be secured by the SecSign ID. The SecSignApp will display this text during the log-in. Typically this is a URL.
– SecSignIDServerHostName: The host name of the SecSign ID Server.
– SecSignIDServerPort: The port at the SecSign ID Server for requests from mobile devices.
– UserGroupWithSecSignIDLogin: Name of the user group in the Active Directory that contains the users who will need to perform a 2FA after their password login. The SecSign ID user name is sAMAccountName of the Windows user.
We recommend using a customized SecSign ID app in this scenario to ensure that a SecSign ID with this specific name can only be created, if the user knows the corresponding Windows Password.
Users in subgroups are considered members of the group.
– FallbackSecSignIDServerHostName: The host name of the optional fallback SecSign ID Server if you have one.
– FallbackSecSignIDServerPort: The port at the optional fallback SecSign ID Server for requests from mobile devices.
With the SecSign ID Credential Provider installed, the Windows log-in consists of:
The Login with the SecSign ID may be performed by selecting the corresponding access pass in the SecSign App or with an one-time password that is displayed either in an authenticator app or the display of a hardware ID Token.
The SecSign ID Credential Provider is not active if Windows is booted into Safe Mode. That means it has to made sure that users cannot reboot Windows into Safe Mode.
Microsoft’s Remote Desktop Web Access service allows to run published Windows applications from a browser. If the SecSign ID log-in has been added to the RD Web Access site then after the usual log-in with Windows user name and password a second page asks for confirmation of the log- in using SecSign ID:
Log-in using a domain administrator account an the Windows Server which has the RD Web Access role. Then run SecSign-RD-WebAccess-Setup.exe:
Run cmd.exe or a PowerShell
After installing the SecSign ID plug-in for Microsoft Remote Desktop Gateway the shared secret has to be copied there. The SecSign ID RD Web Access plug-in uses the secret to sign a gateway access token which it inserts into the RDP files of each published application. The SecSign ID RD Gateway plug-in will validate the signature using the same secret.
Finally, open your RD Web Access URL in a browser, log-in using your Windows user name and password and test the SecSign ID log-in. If anything fails the Windows Event Log will contain more information in Windows Logs → Application with the source SecSign ID RD Web Access.
The SecSign ID log-in integration into RD Web Access alone only protects the RD Web Access log-in in a browser. A user who knows the necessary details to create an RDP file could log-in directly at the RD Gateway using the Remote Desktop Client. Furthermore, users could download RDP files generated by RD Web Access and use them again later without logging in at the RD Web Access site again.
The SecSign ID PAA (pluggable authentication and authorization) plug-in for Microsoft’s Remote Desktop Gateway prevents the aforementioned unwanted direct log-ins at the RD Gateway. To achieve this, the SecSign ID plug-in validates the signature of the gateway access token which has been inserted into the RDP file by the SecSign ID RD Web Access plug-in after a successful SecSign ID log-in at the RD Web Access site using a browser.
The Windows Event Log will contain information about SecSign ID log-ins in „Windows Logs → Application“ with the source „SecSign ID RD Gateway“.
The SecSign ID RADIUS proxy allows to add the SecSign ID log-in to systems with RADIUS support. This includes for example a VPN log-in to a Windows Server 2012. A RADIUS client who wants to process the log-in of a user will send a request to the SecSign ID RADIUS proxy. The proxy will forward the primary authentication containing information about user name and password to a forward RADIUS server. If this server has validated user name and password and allows the log-in the proxy will initiate a SecSign ID log-in as a secondary authentication. The user then authenticates the log-in using his private 2048 bit key in the SecSignApp on his smart phone. Finally, the SecSign ID RADIUS proxy will inform the RADIUS client about the success of the log-in.
As the SecSign ID RADIUS proxy is written in Java it can be run on any operating system with Java support like for example Windows or Linux. So the first step of the installation is to install a recent Java virtual machine preferable with 64 bit available at Oracle’s web site.
The directory SecSignIDRadiusProxy contains the application code in a JAR file and its configuration file. This directory has to be copied to the system that shall run the SecSign ID RADIUS proxy.
The configuration file secradiusproxy.properties needs to be edited:
The default port number of RADIUS is 1812. If necessary, if different value may be set here:
1 |
secradiusproxy.radius.port=1812 |
If the SecSign ID RADIUS proxy shall only bind to a specific IP address it may be specified here. The default is to bind to all IP addresses the machine has.
1 |
secradiusproxy.radius.bind.address=10.4.0.1 |
For each RADIUS client (for example a Microsoft Windows Server) the proxy needs to know the IP address and the shared secret. The list of RADIUS clients starts with the index ‘0’ and may have any number of entries which are consecutitvely numbered.
1 2 |
secradiusproxy.radiusclient.0.host=10.3.0.1 secradiusproxy.radiusclient.0.sharedsecret=theSecretClientValue |
The proxy also needs to know where to forward the RADIUS access requests for validation of the primary authentication credentials (user name and password). This forward RADIUS server may be for example another Microsoft Windows Server or even the same as the RADIUS client.
1 2 3 |
secradiusproxy.forwardradiusserver.host=10.5.0.1 secradiusproxy.forwardradiusserver.port=1812 secradiusproxy.forwardradiusserver.sharedsecret=theSecretServerValue |
For each Windows user whose log-in shall be secured be the SecSign ID the Active Directory must contain an attribute containing the SecSign ID user name of this user. The proxy uses an LDAP connection to query the SecSign ID user name in the Active Directory. For this LDAP connection it needs the name and password of a technical user with read access to the users branch of the Active Directory. Furthermore, the base DN will tell the proxy where to find the users branch in the LDAP tree. The recommended full name of this technical user is SecSign ID Radius Proxy and its descrption: Technical user to allow AD LDAP queries for the SecSign ID RADIUS proxy.
1 2 3 4 5 |
secradiusproxy.activedirectoryldapserver.host=10.6.0.1 secradiusproxy.activedirectoryldapserver.port=389 secradiusproxy.activedirectoryldapserver.username=DOMAIN\\radiusproxyuser secradiusproxy.activedirectoryldapserver.password=123456 secradiusproxy.activedirectoryldapserver.usersbasedn=CN=Users,DC=domain,DC=com |
The proxy will keep a copy of each received RADIUS packet for a certain time in order to recognize duplicate packets. The proxy will also remember the Windows user names for whom it is waiting for the completion of the SecSign ID log-in. The proxy will not start a new log-in session for such users if requested by the RADIUS client. The time out for both list entries can be specified here.
1 2 |
secradiusproxy.receivedpackets.cleanup.seconds=60 secradiusproxy.currentwindowsusers.cleanup.seconds=60 |
In order to initiate a SecSign ID log-in the SecSign ID RADIUS proxy needs the host name of the SecSign ID server and optionally of fallback SecSign ID servers:
1 2 3 4 |
seccommerce.secappserver.0=id1.secsign.com seccommerce.secappserverport.0=443 #seccommerce.secappserver.1=localhost #seccommerce.secappserverport.1=25200 |
The connection to the SecSign ID server is TLS encrypted. Therefore, a DER encoded trusted certificate of the SecSign ID server may be configured. If the server uses a certificate issued on its official DNS name by a regular trustcenter this configuration entry is not necessary.
1 |
seccommerce.secappservertlscert.0=trustedServerCert.der |
A timeout value be set after which the proxy tries to send its request to the next fallback SecSign ID server:
1 |
seccommerce.secappserver.connecttimeout=5000 |
The SecSign ID RADIUS proxy may use a HTTP proxy to send requests to the SecSign ID server. The HTTP proxy has the following settings:
1 2 3 4 |
seccommerce.secappserver.proxy.server=proxy.sec.intern seccommerce.secappserver.proxy.port=3128 seccommerce.secappserver.proxy.username= seccommerce.secappserver.proxy.password= |
If certain hosts can be reached without the general HTTP proxy they can be named here:
1 2 |
seccommerce.secappserver.proxy.bypass.0=www.available.direct seccommerce.secappserver.proxy.bypass.1=need.no.proxy |
The SecSign ID RADIUS proxy may write a log file. It contains all messages whose severity is equal to or above a specified level.
1 2 3 4 |
log.fileactive=on log.filename=secradiusproxy.log log.dir=. log.maxlogtype=50 |
The levels are:
The proxy may begin a new log file each day:
1 |
log.filenamealter=on |
The proxy can be started with:
1 |
java -classpath SecSignIDRadiusProxy.jar seccommerce.radius.RadiusProxy secradiusproxy.properties |
The proxy will output messages like:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
30.07.2015 15:21:34:696 main: Log messages to '.' with level 50 according to radproxy.fz open logfile /SecSignIDRadiusProxy/./secradiusproxy30.log 30.07.2015 15:21:34:774 main: SecPKI host 0 = id1.secsign.com:443 30.07.2015 15:21:34:774 main: seccommerce.secappserver.1 not set in properties file. Failover configuration finished with 1 SecPKI hosts. 30.07.2015 15:21:34:785 main: Data format to SecPKI = serialized Java objects 30.07.2015 15:21:34:786 main: TLS to SecPKI = true 30.07.2015 15:21:34:786 main: WARNING: No SecPKI server trusted TLS certificate configured. 30.07.2015 15:21:34:788 main: Init SecPKI API: First server id1.secsign.com:443, First trusted TLS certificate: null 30.07.2015 15:21:34:788 main: Set SecPKI connect timeout 5000 ms 30.07.2015 15:21:34:790 main: SecPKIApi version 6 Build 1 30.07.2015 15:21:34:790 main: java.version=1.6.0_65 30.07.2015 15:21:34:790 main: Number of servers configured = 1 30.07.2015 15:21:34:794 main: RADIUS proxy server listening at 0.0.0.0:1812 |
Pressing ^C in the terminal window will end the proxy.
The SecSign ID RADIUS proxy can be used with different systems that support RADIUS. As an example the following section shows how to configure the SecSign ID RADIUS proxy in a Microsoft Windows Server 2012.
In the Server Manager the option Network Policy Server in the Tools menu will open the configuration of the Network Policy Server. A new RADIUS server can be added at the node NPS (Local) – RADIUS Clients and Servers – Remote RADIUS Server Groups. There, in the context menu the option New opens the following dialog in which a RADIUS server group with a name like SecSign ID RADIUS proxy group may be created:
The button Add shows a dialog in which the IP address or host name of the SecSign ID RADIUS proxy can be added:
The shared secret has to be entered in the Authentication/Accounting tab. It must be identical to the value of secradiusproxy.radiusclient..sharedsecret in the configuration file of the proxy.
In the Load Balancing tab it is necessary to set the Number of seconds without response before a request is considered dropped to at least 60 seconds. This time allows the user to perform the SecSign ID authentication on his smart phone. The SecSign ID RADIUS proxy cannot answer the RADIUS client before the SecSign ID log-in is completed.
Now, the Microsoft Network Policy Server will be configured to send RADIUS requests to the SecSign ID RADIUS proxy in case of for example a VPN log-in: Selecting the node NPS (Local) – Policies – Connection Request Policies shows the following dialog:
A double click on Microsoft Routing and Remote Access Service Policy displays a dialog in which the tab Settings has to be selected. The node Forwarding Connection Request – Authentication allows to determine that RADIUS requests shall be forwarded to the SecSign ID RADIUS proxy:
The SecSign ID RADIUS proxy can forward RADIUS requests to different systems that support RADIUS. As an example the following section shows how to allow the SecSign ID RADIUS proxy as a RADIUS client in a Microsoft Windows Server 2012.
In the Server Manager the option Network Policy Server in the Tools menu will open the configuration of the Network Policy Server. A new RADIUS client can be added at the node NPS (Local) – RADIUS Clients and Servers – RADIUS Clients. There, in the context menu the option New opens the following dialog in which a RADIUS client with a name like SecSign ID RADIUS proxy may be created.
The IP address or DNS host name is the one of the machine running the SecSign ID RADIUS proxy. The shared secret is the same which was specified as secradiusproxy.forwardradiusserver.sharedsecret in the configuration file of the proxy.
If the SecSign ID RADIUS proxy is integrated into a Microsoft Windows Server infrastructure it can be used to secure for example the log-in of a Windows 8.1 VPN client with SecSign ID.
To create a VPN connection using Microsoft Windows 8.1, open the Windows Control Panel and then the Network and Sharing Center. Select:
In this example, the Internet address of the VPN target is win2012r2.secsignersde.com and the destination is described by the name: „VPN with SecSign ID“
Pressing Create opens the Windows side bar showing all connections. Selecting VPN with SecSign ID and clicking on Connect opens a password entry asking for the Windows user name and password having an account at the VPN target:
When Window 8.1 says Verifying your credentials, please authenticate the log-in in the SecSignApp on your smart phone.
If desired, the authentication methods for the VPN connection can be changed in the network adapter settings in the Network and Sharing Center of the Windows Control Panel. The SecSign ID RADIUS proxy supports the authentication methods MS-CHAP v2 and PAP:
On premise installations of SecSign ID offer the flexibility to connect with your preferred servers, services, and devices. And you can customize the SecSign ID with your own organization’s branding.
Learn MoreOptions for securing Atlassian SSO Your users and passwords and services are all over the place? You want to simplify your security and authentication setup but you don’t know where to start? Move beyond your authentication ...
Mehr LesenMulti-Factor Authentication powered IdM/IAM with SecSign ID Your users and passwords and services are all over the place? You want to simplify your security and authentication setup but you don’t know where to start? Move bey ...
Mehr LesenWith SecSign ID you can protect all your logins with a secure Two-Factor Authentication based on a challenge response. The authentication offers the highest protection for the company data while being incredibly simple to us ...
Mehr LesenWant to learn more about SecSign’s innovative and highly secure
solutions for protecting your user accounts and sensitive data?
Use our contact form to submit your information, and a SecSign sales representative will contact you within one business day.
If you need assistance with an existing SecSign account or product
installation, please see the FAQs for more information on the most common questions. You don’t find the solution to your problem? Don’t hesitate to contact the
Product Support
I am Interested in