viewing a certificate: keyhas null value
I'm running WS 7.0 B12/04/2006 10:15 on sparc Solaris 9 and encounter a problem when viewing a installed certificate.
The steps before:
1. migrating an existing WS 6.1 SP4 installation on the same server (including the certificates), whereas all four instances were successfully migrated and are operational and can be started.
Three of the instances are running with https.
For one of the instances the certificate has expired and I renewed the certificate as follows:
* choose the instance
* install
* Token: internal and setting a password
* enter Certificate [DER Format] with copy & paste
* choose Nickname: btv-https-cert und Listener: ls1
* Finish
Then it showed: "Some of the tokens require passwords to list certificates".
So I've chosen 'Set password' - entered a password. This was accepted.
Two entry were shown now in the 'Server certificates Tab', and one of the entries were expired:
* BTV (this is new certificate)
* Server-Cert < which has been expired
Now I deleted the expired 'Server-Cert'.
* Selected certificate: Server-Cert
and associate a new listener ls1 for it.
I got
"Certificate deleted successfully".
But here in the 'Server certificates Tab' are still existing both certificates, and if I choose 'Server-Cert' or 'BTV', it ends in the GUI with
An error has occurred.
keyhasnull value:
The admin-server/logs/errors log shows
[12/Jun/2007:14:53:29] failure (17045):for host 10.101.12.146 trying to POST /admingui/admingui/configServerCertificates, service-j2ee reports: ApplicationDispatcher[/admingui] PWC1231: Servlet.service()for servlet jsp threw exception
com.sun.enterprise.tools.guiframework.exception.FrameworkError: com.sun.enterprise.tools.guiframework.exception.FrameworkException: java.lang.reflect.InvocationTargetExceptionwhile attempting to process a'endDisplay' eventfor'certDetailsTable'.
at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.endChildDisplay(DescriptorViewHelper.java:541)
at com.sun.enterprise.tools.guiframework.view.DescriptorCCPropertySheet.endChildDisplay(DescriptorCCPropertySheet.java:158)
at com.sun.web.ui.taglib.common.CCTagBase.fireEndDisplayEvent(CCTagBase.java:208)
and
[12/Jun/2007:14:53:29] info (17045):for host 10.101.12.146 trying to POST /admingui/admingui/configServerCertificates, service-j2ee reports: com.sun.enterprise.tools.guiframework.exception.FrameworkException:com.sun.web.admin.gui.util.Util.getRequiredValue(Util.java:916)
com.sun.web.admin.gui.handlers.CommonHandlers.getMapElement(CommonHandlers.java:1938)
sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
and
[12/Jun/2007:14:53:29] info (17045):for host 10.101.12.146 trying to POST /admingui/admingui/configServerCertificates, service-j2ee reports: com.iplanet.jato.NavigationException: Exception encountered during forward
Root cause = [com.sun.enterprise.tools.guiframework.exception.FrameworkError: com.sun.enterprise.tools.guiframework.exception.FrameworkException: java.lang.reflect.InvocationTargetExceptionwhile attempting to process a'endDisplay' eventfor'certDetailsTable'.]
[12/Jun/2007:14:53:29] info (17045):for host 10.101.12.146 trying to POST /admingui/admingui/configServerCertificates, service-j2ee reports: keyhasnull value:
Something wrong with my procedure?
Has it been a mistake to delete the Server-Cert?
-- Nick

