Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8491667
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T22:29:38+00:00 2026-06-10T22:29:38+00:00

I understand how keystores work for private keys. Basically you create a keystore, generate/sign/store

  • 0

I understand how keystores work for private keys. Basically you create a keystore, generate/sign/store the keys and based on the alias the container (JBoss, tomcat, WebLogic or WebSphere) will load the appropriate keys during initialization.
My question has to do with the truststores. If the container makes a request to an external website, which has a key signed by say Thawte, how does the container know which public key to supply from its truststore to allow the ssl handshake to complete ? The truststore definitely has an alias but when the container invokes a connection to a remote site, I really doubt if it uses an alias to find the matching public key.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T22:29:40+00:00Added an answer on June 10, 2026 at 10:29 pm

    It doesn’t have to supply or even find a matching public key. The public key is already present, in the certificate provided by the peer. It has to find a certificate in the truststore matching a certificate in the certificate chain provided by the peer: that is, it has to find a certificate whose SubjectDN matches the incoming IssuerDN. Certainly aliases don’t come into it, as they are not transmitted, not being part of the SSL protocol.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I understand that the keystore would usually hold private/public keys and the trust store
Though my project is java based but we still use OpenSSL to generate keys
I understand I can create an enum like this: public enum MyEnum { ONE(1),
I understand the way Mealy state machines work - the output logic is now
I understand that JVM and CLR were designed as stack-based virtual machines. When JIT
I understand how to create a virtualenv, activate that virtualenv, and then install django
I'm trying to understand what's going on in this code . KeyStore trustStore =
I am trying to understand a code which block some keys on the keyboard
I understand that this a very noob problem, but when I try to create
I try to create a new self certified keystore file The command I use

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.