Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

https connection added cert still getting exception please help?

 
steve labar
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So, i have tried everything i can possibly think of and still i'm not able to establish a connection with a website. So here is a brief description of the problem with code,errors,etc. I have added my cert by using the popular InstallCert.java i found online. It created a file called jssecacerts. this is commandline response from program and everthing has seemed to work great!

I then attempt to connect with this code:



I get this error:


Error connecting: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching console.whitey.com found


Please i have added the cert connected and still having no luck! Any ideas to try and/or what the problem could be would be very helpful!
[ September 10, 2008: Message edited by: steve labar ]
 
T.A. Nguyen
Ranch Hand
Posts: 36
Eclipse IDE Java ME Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It look like your CN=console02.wh.prod is not console.whitey.com, certificate not being issued to the correct domain? You should check on that.

When generate keystore file, the first question should be the domain of the CAS server, for you it should be: [console.whitey.com]

What is your first and last name?
[Unknown]: console.whitey.com


Originally posted by steve labar:
...

1 Subject EMAILADDRESS=noc@console02.wh.prod, CN=console02.wh.prod, OU=Network Operations, O="Whitey, Inc.", L=Santa Clara, ST=California, C=US
Issuer EMAILADDRESS=noc@whitey.com, CN=Whitey CA, OU=Certificate Authority, O="Whity, Inc.", L=Santa Clara, ST=California, C=CA

...

Error connecting: javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching console.whitey.com found

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic