If you plan to install Report Center on an eHealth system that has SSL enabled with a self-signed certificate, perform the following procedure BEFORE you install Report Center:
1) Copy the self-signed certificate from $NH_HOME/web/httpd/conf directory to $NH_HOME\jre\bin.
2) Import the self-signed certificate into the existing keystore using this command:
On UNIX systems:
$NH_HOME\Jre\bin>keytool -import -file server.crt -trustcacerts -keypass changeit -storepass changeit -keystore $NH_HOME\jre\lib\security\cacerts
On Windows systems:
C:\ehealth\Jre\bin>keytool -import -file server.crt -trustcacerts -keypass changeit -storepass changeit -keystore C:\ehealth\jre\lib\security\cacerts
The command output looks like the following:
Owner: EMAILADDRESS=NA, O=systemname, L=someCity, ST=someState, C=US, CN=systemname
Issuer: EMAILADDRESS=NA, O=systemname, L=someCity, ST=someState, C=US, CN=systemname
Serial number: systemserialnumber
Valid from: Tue Mar 20 16:36:08 EDT 2007
until: Wed Mar 19 16:36:08 EDT 2008
3) When the following prompt appears, respond with yes:
Trust this certificate? [no]: yes
The certificate is added to keystore.
Details:CM-CAM-4005 Unable to authenticate. Check your security directory server connection and confirm the credentials entered at login.CAM-AAA-0179 The 3rd party provider returned an unrecoverable exception.javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
Error: Failed to connect to Report Center - Report center is not available.