• 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

is there a problem switching from SSL to NON-ssl on the same port?

 
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi..

we have a java application that switches in runtime from NON-SSL to SSL server socket based on configuration, the clients attempt to determine the type connection by first trying non-ssl and when failing trying ssl connection.both server sockets are opened with allowReuse flag set to true.

after multiple switching (3-4 times) , i've noticed the clients seems to have trouble connecting with ssl, but when trying again they manage to establish connection. comparing wire shark indicates that instead of the usual client hello and server hello we get "unknown record"

on windows it would seem to be less happening then on ubuntu linux.
 
The human mind is a dangerous plaything. This tiny ad is pretty safe:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic