This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTTPS - SSL

 
Pedpano Silva
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I was wondering if is there any way to use a specific cipher in SSL connections.
Because in the examples that I have read I have not seen any thing about that.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SSL/TLS does support various ciphers (see here), but it's generally up to the two communicating implementations to negotiate which one to use.

Do you have a particular need to select the cipher?
 
Pedpano Silva
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I must do some analises in many ciphers suite, so that is why I need to choose a cipher suite.

I am testing in the basic way. I have configurated my tomcat to accept https connections. I was wondering if there any way to configure the tomcat to use a specific cipher suite.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it's at all possible -and I doubt that it is- then it would be a JRE setting, not a Tomcat setting.

Couldn't you test outside of SSL, by just using JSSE, or do you need HTTP to be involved?
 
Pedpano Silva
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are right, makes more sense configure JRE than the tomcat...
I do need I HTTP involved.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic