If you are using Application Server 9.1, import the DAS certificate
into the Web Server instance and set the trust attributes for the certificate
using the following commands:
<webserver_install_dir>/bin/pk12util -i <path_to_s1as.pk12-file>
-d <webserver_install_dir>/admin-server/config-store/<default-config-name>/config
-K <webserver security db password> -W <s1as.pk12-file-passwd>
<webserver_install_dir>/bin/certutil -M -n s1as -t "TCu"
-d <webserver_install_dir>/admin-server/config-store/<default-config-name>/config
These commands make the Application Server CA be a trusted CA to sign
both client and server certificates.
If you are using GlassFish v2, import the DAS certificate from
the rfc file created using certutil, the NSS security
tool.
<webserver_install_dir>/bin/certutil -A -a -n s1as -t "TCu" -i s1as.rfc -d
<webserver_install_dir>/admin-server/config-store/<CONFIG_NAME>/config
where, <webserver_install_dir> refers to the web server installation
directory and <CONFIG_NAME> refers to the configuration name created for
the default web server instance.
You can check the presence of
this certificate by using the following command, which would list the s1as
certificate along with other CA certificates including the default server
certificate. Make sure that you type the entire command in a single line.
<webserver_install_dir>/bin/certutil -L -d
<webserver_install_dir>/admin-server/config-store/
<DEFAULT_CONFIG_NAME>/config
You can also use the Web Server Admin Console to view this. Select the
configuration to which the certificate has been imported to (default config,
in this case), and then select the Certificates tab. To look at all the certificates
available, select the Certificate Authorities sub tab.