Technical Notes |
|
Reflection for the Web provides an option for users to authenticate to the Reflection management server using X.509 client certificates, stored in the browser's keystore or on a smart card. This technical note describes how to set up this type of authentication.
Note: For information about configuring client certificate authentication to an SSL host, see Technical Note 1766.
X.509 client certificates can be used to authenticate users to the Reflection management server. The X.509 client certificates work with web browsers that support SSLa security protocol that provides privacy and authentication for network traffic. In addition, the web server must also support the SSL protocol.
Client certificates can be acquired from a commercial Certification Authority (CA), such as VeriSign, Entrust, or Thawte. Anyone who purchases a client certificate from one of these vendors and who can access your Reflection web server will be successfully authenticated. Alternatively, an enterprise CA can be used to generate, sign, and distribute certificates locally.
The certificates can be stored in the client's browser certificate store, or on a client smart card. You can also use X.509 client authentication with LDAP authorization to restrict access to specific Reflection sessions.
To authenticate users with X.509 client certificates, several conditions must be met:
For information about configuring client certificate authentication to an SSL host, see Technical Note 1766.
To set up your environment to meet these conditions, follow the steps in the sections below.
To confirm that the web server is enabled for SSL and for Reflection X.509 client authentication:
First, use your web server’s native administrative features to make sure SSL is enabled. If you used the automated installer to install Reflection for the Web, then SSL is already enabled. If you used the manual installation of Tomcat, you may need to create or import an SSL server certificate through the Certificate Wizard utility.
Then, set up the Reflection X.509 client authentication by opening a second port to authenticate the client. Follow the instructions for your scenario.
If you used the automatic installer, you do not need to configure anything else. Reflection sets up an X.509 authentication port and checks to make sure the port is available. The port number appears on the X.509 Client Certificate setup page when you set up access control.
Note: If you upgraded from an earlier version, when you configure access control on the X.509 Client Certificate setup page, the default port may not be correct. Check the server.xml file and either change server.xml to match the default in the Administrative WebStation, or change the default to match the value in server.xml (see steps below).
If you used the manual installation of the Tomcat servlet runner (using the zip file provided with Reflection), an X.509 client authentication port is defined on port 8083 by default. If a different port is needed, change the definition as follows.
"Define an SSL HTTP/1.1 Connector on port 8083 for X.509 client authentication"For example, port="8083"
To enable X.509 client authentication in Reflection for the Web:
Note: If you use the automatic installer to set up Reflection, the installer selects an X.509 port (8083, for instance) and the Access Control Setup wizard presents that port as a default.
Click Next.
You can purchase or create client certificates.
Note: Regardless of the type of client certificate you choose to use, if you use your LDAP database to authorize session access, the common name (CN) on the client certificate must match the user’s identity in the LDAP directory.
The easiest way to use X.509 client authentication is to purchase client certificates from a Certificate Authority (CA) such as VeriSign, Entrust, or Thawte. These commercial certificate vendors' root certificates are generally trusted by all web servers, including Tomcat.
However, because these client certificates are automatically trusted by most web servers, anyone who purchases a client certificate from one of these vendors and who can access your Reflection web server will be able to successfully authenticate.
To increase your security when using a client certificate purchased from a CA, use X.509 client authentication with LDAP authorization to restrict access to specific sessions.
Alternately, you can generate your own client certificates for X.509 client authentication using CA software. Once created, import the root certificate into the management server's list of trusted CAs. (For details, see Importing the Root Certificate to the Web Server).
By itself, this does not alleviate the problem of other commercial CA certificates being automatically trusted; however, if you create your own certificate, then remove the commercial CA vendor’s root certificates from the management server's trusted list, this prevents users with client certificates signed by these vendors from being authenticated by Reflection.
For highest security using X.509 client authentication:
During the initial SSL handshake, the web server checks the client certificate against its list of trusted certificate issuers. If you are using a certificate signed by your enterprise CA, or any CA that is not included in the web server’s default trusted list, you must import the certificate root to the trusted list.
To view the management server’s list of trusted CA issuers, enter the following command at the command prompt:
keytool -list -v -keystore <path>cacertsFollow these steps to add a certificate to the Reflection trusted certificates list.
\ReflectionServer\_jvm\bin\keytool -v -importcert -file <file containing certificate> -keystore "<path>cacerts" -alias <friendly name>
Replace <file containing certificate> with the certificate's file name, and replace <friendly name> with a name that enables you to identity the certificate in the trusted list.
For example:
keytool v importcert file clientcert.pfx keystore “c:\program files\ReflectionServer\_jvm\lib\security\cacerts” alias JoanSimmonsCertificateNote: For more information about the keytool command, enter keytool at the command prompt for a list of parameters.
Follow these steps to view the management server’s list of trusted CA issuers.
Two tables are displayed. The Import Trusted Certificates table shows certificates that you added to the default list. The Trusted Root Certificate Authorities table shows the certificates in the default list.
Follow these steps to add a certificate to the Reflection trusted certificates list.
The client certificate is installed on each client machine using the browser's certificate installation wizard.
For Internet Explorer, double-click the client certificate to launch the installation wizard.
For Firefox, follow these steps:
For other web browsers, refer to the browser documentation for information on how to import client certificates.
An HTTP connection (which provides no security) and an HTTPS connection (which directs the browser to make SSL connection) use different ports. If SSL on Reflection for the Web is not set up to use the default SSL port, 443, then the URL must include the port.
Note: The redirect from HTTP to HTTPS does not apply to X.509 client authentication. The user must log on using HTTPS.