Configure IBM HTTP Server for SSL mutual authentication
IBM HTTP Server supports Secure Socket Layer and Transport Layer Security. IBM HTTP Server requires the IBM-supplied SSL modules, rather than OpenSSL modules. SSL is disabled by default.
- Start the key management utility.
- Create a key database and click Key Database File | New.
- Type a file name, serverkey.kdb, for example, and the location path. Click OK.
- Type a password, select the "Stash the password to a file" check box and click OK.
- Obtain a personal certificate for IBM HTTP Server by clicking "Personal Certificate Requests". Click New. The Create New Key and Certificate Request panel appears. Complete the following information...
Key label: Server_Cert Common name: droplet.amsterdam.setgetweb.com Organization: IBM Country: US File name: Server_certreq.arm The Verisign Test CA Root Certificate is in the set of signer certificates shipped with the IKeyMan for IBM HTTP Server.
- Go to http://www.verisign.com and click Get Free Trial SSL ID. Complete the profile information, click Submit, and click Continue twice.
- Edit the request file Server_certreq.arm, and copy the entire contents of the file into the browser request panel. Click Continue. VeriSign displays the Personal Certificate in the browser.
- Copy and paste this certificate into a file, for example Server_Cert.arm. Click Personal Certificate from the menu in the key management utility. Click Receive. Specify the file name, Server_Cert.arm, and click OK. Close the serverkey.kdb file.
- To allow IBM HTTP Server to support SSL (https), edit...
$IHS_HOME/conf/httpd.conf...and add the following lines above the line Alias /IBMWebAS/ "$WAS_HOME/web"...
LoadModule ibm_ssl_module modules/IBMModuleSSL128.dll $WAS_HOME/bin/mod_ibm_app_server_http.dll Listen 443 <VirtualHost droplet.amsterdam.setgetweb.com:443> ServerName droplet.amsterdam.setgetweb.com DocumentRoot $WAS_HOME\htdocs SSLEnable #SSLClientAuth required SSLDisable Keyfile <IHS_HOME>/serverkey.kdbNote that Change the host name and the path for the key file accordingly. Modify the Web server to support client certificates by uncommenting the SSLClientAuth directive shown in the httpd.conf file.
SSLClientAuth required- Restart IBM HTTP Server.
- Test SSL between a browser and IBM HTTP Server.For more information on the default IBM HTTP Server port number, see Port number settings in WAS versions.
- Follow the prompts to select a personal certificate if the SSLClientAuth directive is set to required.
- To enable the appserver to communicate with IBM HTTP Server using port 443, add the host alias on the default_host. Click Environment > Virtual Hosts > default host > Host Aliases > New. Enter the following information in the appropriate fields...
Host name *
Port type 443 - Click Apply and Save to write to the security.xml file.
- Click Update Web Server Plugin, and then click OK.
- Restart WAS.
- Test your connection.
You can connect to the Snoop servlet.
Usage Scenario
See Also
SSL
- Requesting certificate authority-signed personal certificates
- Receiving certificate authority-signed personal certificates
- Extracting public certificates for truststore files
- Managing digital certificates
- Creating a SSL repertoire configuration entry
- Port number settings in WAS versions
- Requesting a CA-signed personal certificate
- Creating a certificate signing request (CSR)
- Receiving a CA-signed personal certificate
- Extracting a public certificate for use in a truststore file