-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Adriano,

On 6/11/15 9:45 AM, Adriano Matos Meier wrote:
>>> I tried to add keyAlias="server" in my server.xml, but I
>>> received this error:
>> 
>> What does "keytool -list" show for that keystore?
> 
> It returns 3 entries:
> 
> 1 PrivateKeyEntry (Private Key) - alias repository 1
> trustedCertEntry (Intermediate certificate) - alias intermed 1
> trustedCertEntry (SSL certificate) - alias server

The "keyAlias" attribute is for a key, not a cert.

You want:

<Connector ...
  keyAlias="repository"
  ...
  />

I could have sworn that you could also specify the "alias" of the
certificate, but it looks like maybe not. You may have to remove the
certificate called "server" and instead re-import the certificate
using the alias "tomcat".

Try just using keyAlias="repository" first.

- -chris

> Em Qui, 2015-06-11 às 09:35 -0400, Christopher Schultz escreveu:
>>> 
>>> LifecycleException:  service.getName(): "Catalina";  Protocol 
>>> handler start failed: java.io.IOException: Alias name server
>>> does not identify a key entry
>>> 
>>> The alias of SSL certificate needs to be same of CSR?
>>> 
>>> What I did wrong?
>>> 
>>> Can anybody help me?
>>> 
>>> I appreciate any help!
>> 
>> 
>> -chris
> 
> ---------------------------------------------------------------------
>
> 
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJVeZRaAAoJEBzwKT+lPKRYUTIQAIz2qjyseuF/oQo00kychbw5
VRvxwfTWiUXSMCTV0vERM2bF5XqBSgMXkZro0yNCsEoqht+HNkNUBr5csxBhH8Oy
NRMzMOdOCZ39SFX654yX4w6VJoNq+okJ6gb7TNzB2/0HSl9XRhvttELy66MFNeJS
5wxzb9YuVM2sNpflmuKbHpP6XRvdlKGFKDQg/8RA0uxvkwqJ5+8V5k4xvr/libL3
FfF6dn8ZnxuzRmU5bpHReJN9zSzOFcHTeIgUlTKbeeTS8HzLzw7w8GVj53wutu62
twSgmBniXh4LTdC9WfS0brmNHRlugItPD06gyyXRN+5l0BZaF5x8BxhZ7wu+Yb/J
Dh6gRAF1iy1z6+bi8ElDWPvgiHvqmPCaz0SBce5z+TbpnNieVzB96KxQ7htQYQot
CqqWMaglgzNC2lQ+u3xI0lgBOz7N6mGBHYsxMbcTgfR47vTRpMtopHxpHD216ac7
d8+aX784OSaP+wb3oN98S3/rMS32Pek65XUVMH6/ApDRXnt6+AarlQ6mBGdBxyjl
/oocj7x79w0PjcDWxidMLNnb58UXzUKAcdkaNl/Ofa1PrmCdzxWjIdCvjKFLuttx
1AbmANE1w/EJ5f62mz/jFt+yldAlaiq1aUv2nx8pa4NkbPaZlLgAU5Vf6isDLw9R
raF+oKmraZD+mRMLToKm
=C7jN
-----END PGP SIGNATURE-----

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

Reply via email to