users@glassfish.java.net

Re: Problems with enable-secure-admin

From: John Clingan <john.clingan_at_oracle.com>
Date: Tue, 30 Aug 2011 08:45:02 -0700

Could it be a filesystem permissions problem? I see the "/root" path. Are you running GlassFish Server as root or as another user?

On Aug 30, 2011, at 8:39 AM, forums_at_java.net wrote:

> Hi,
>
> I have a problem with the asaadmin -enable-secure-admin tool. If I try to
> execute this, I always get the following error:
>
> [root_at_glassfish config]# /opt/glassfish3/bin/asadmin enable-secure-admin
> Authentifizierung mit Passwort aus Anmeldespeicher /root/.asadminpass
> fehlgeschlagen
> Admin-Passwort für Benutzer "admin" eingeben>
> remote failure: Error enabling secure admin :
> org.jvnet.hk2.config.TransactionFailure: java.lang.RuntimeException:
> java.lang.IllegalArgumentException: Could not find the alias s1as in the
> trust store
> java.lang.RuntimeException: java.lang.IllegalArgumentException: Could not
> find the alias s1as in the trust store
> Befehl enable-secure-admin fehlgeschlagen.
>
>
> I have checked the keystore.jks in my domain config folder and a certificate
> with alias s1as exist. Is there any other keystore the asaadmin use?
>
> Thanks in advance,
>
>
>
> David
>
>
> --
>
> [Message sent by forum member 'd.zinzius']
>
> View Post: http://forums.java.net/node/838746
>
>