• 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

SSL question

 
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

Please help to answer below question, thanks.

Which of the following are mandatory steps in the SSL handshake?

A Validate Client to Server

B Validate Server to Client

C Allow client and server to choose cryptographic algorithm

D Use symmetric key encryption to generate shared secrets

 
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There's a relatively brief Introduction to SSL on the Sun site.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please QuoteYourSources.
 
Ranch Hand
Posts: 271
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:Please QuoteYourSources.



It's from the practice questions at http://www.geekinterview.com/question_details/9683
 
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just looked up this thread on geek interview..and found that there was no explanation..so decided to add my 2 cents.

(a) is wrong because a client must be validated by the server only if there is mutual authentication . Mutual authentication is not mandated by SSL but it adds an extra level of security.

(b) is correct and is a key feature of a SSL handshake

(c) is correct as negotiating on a cryptographic algorithm is one of the key features of an SSL handshake. Typically the client tells the server the algorithms it can support and the server responds by choosing an algorithm (the strongest algorithm that they both can support)

(d) is dicey but incorrect. Using a symmetric key to generate shared secrets does not make much sense (in my opinion). Shared secrets are typically generated by asymmetric keys (public,private) . If both parties had a symmetric key they would not need to generate a shared secret...and could directly use the symmetric key for encyption/decryption. Due to the problems involved in the distribution of secret keys parties involved in SSL tend to derive the shared secret from assymetric keys (using Diffie Helman algorithm or the likes - because of the mathematical nature of the algorithm both parties end up generating the same shared key even if they start with asymmetric keys)..

Hope that made sense..

Thanks
reply
    Bookmark Topic Watch Topic
  • New Topic