You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by William Vernines <wv...@sanimatdiffusion.com> on 2009/06/22 11:16:14 UTC

[SSL & Tomcat5.5] Tomcat doesn't see alias in my keystore

Hello,

This my server.xml :

Code :

 
<Connector port="8443" maxHttpHeaderSize="8192" 
               keystoreFile="/var/lib/tomcat5.5/.keystore"
               keystorePass="********" keyAlias="tomcat"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" disableUploadTimeout="true"
               acceptCount="100" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" />
 

My keystore is well in /var/lib/tomcat5.5/.keystore,
this my alias keystore list :

Code :

 
keytool -list -keystore /var/lib/tomcat5.5/.keystore
 
Tapez le mot de passe du Keystore :  ********
Type Keystore : jks
Fournisseur Keystore : SUN
 
Votre Keystore contient 2 entrée(s)
 
root, 17 juin 2009, trustedCertEntry,
Empreinte du certificat (MD5) : ****************
tomcat, 17 juin 2009, trustedCertEntry,
Empreinte du certificat (MD5) : ****************
 

You can see that tomcat alias exists...
However this is the tomcat boot log :

Code :

 
...
java.io.IOException: Le nom alias tomcat n'identifie pas une entrée de clef
...

In english : tomcat alias doesn't identify a key entry

Any idea ?

Thanks a lot

-- 
------------------------------
Vernines William
Sanimat Santé
1307 Impasse de Lisbonne
Z.I ALBASUD
82000 Montauban
tel: 05.63.22.05.40
fax: 05.63.23.04.94
wvernines@sanimatdiffusion.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [SSL & Tomcat5.5] Tomcat doesn't see alias in my keystore

Posted by William Vernines <wv...@sanimatdiffusion.com>.
Thanks a lot Mark !


Mark Thomas a écrit :
> William Vernines wrote:
>   
>> Votre Keystore contient 2 entrée(s)
>>
>> root, 17 juin 2009, trustedCertEntry,
>> Empreinte du certificat (MD5) : ****************
>> tomcat, 17 juin 2009, trustedCertEntry,
>> Empreinte du certificat (MD5) : ****************
>>
>>
>> You can see that tomcat alias exists...
>> However this is the tomcat boot log :
>>
>> Code :
>>
>>
>> ...
>> java.io.IOException: Le nom alias tomcat n'identifie pas une entrée de clef
>> ...
>>
>> In english : tomcat alias doesn't identify a key entry
>>
>> Any idea ?
>>     
>
> The error message says it all. There isn't a key entry named tomcat.
> (The entry named Tomcat is a trusted certificate, not a key).
>
> Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>   


-- 
------------------------------
Vernines William
Sanimat Santé
1307 Impasse de Lisbonne
Z.I ALBASUD
82000 Montauban
tel: 05.63.22.05.40
fax: 05.63.23.04.94
wvernines@sanimatdiffusion.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [SSL & Tomcat5.5] Tomcat doesn't see alias in my keystore

Posted by Mark Thomas <ma...@apache.org>.
William Vernines wrote:
> Votre Keystore contient 2 entrée(s)
> 
> root, 17 juin 2009, trustedCertEntry,
> Empreinte du certificat (MD5) : ****************
> tomcat, 17 juin 2009, trustedCertEntry,
> Empreinte du certificat (MD5) : ****************
> 
> 
> You can see that tomcat alias exists...
> However this is the tomcat boot log :
> 
> Code :
> 
> 
> ...
> java.io.IOException: Le nom alias tomcat n'identifie pas une entrée de clef
> ...
> 
> In english : tomcat alias doesn't identify a key entry
> 
> Any idea ?

The error message says it all. There isn't a key entry named tomcat.
(The entry named Tomcat is a trusted certificate, not a key).

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org