• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat not recognising certificate

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

We have Tomcat 6.0.24 installed and trying to get it to use a publicly signed cert.

The keystore contains the private key and we added the intermediate and server certificates from the signing authority. We didn't add the root certificate as keytool advised it was already in the master key store.

If we use keytool to list certificates in the keystore the certificates are found and if we use the -alias command in the listing then it successfully lists the public signed server certificate by its alias name.

Now we have added keyAlias to the server.xml for the connector for https but when Tomcat starts we get an error in catalina.out of "protocol handler start failed java.io.IOException: Alias name <alias> does not identify a key entry"

The private key alias name is not the same as the alias name for the server certificate and if we try and change them to be the same keytool says that the alias name is already in use if that is important? Also we didn't use the alias name tomcat at any point, again not sure if that is an issue, as from reading configs that is just the default name that is looked for if nothing is set in server.xml?

Any ideas please?

Thanks

Mart
reply
    Bookmark Topic Watch Topic
  • New Topic