[Shrine-users] SSL and Certificate exceptions

Erik Benton benton at ohsu.edu
Fri Jun 20 13:03:34 EDT 2014


Hello all,

We've built two Shrine instances on top of the i2b2 VMs with the intent of
testing a "hub and spoke" configuration. While we are very close I've hit
a wall with the certificate requirements.

I've performed the certificate exchange according to the "Trusting
Hospitals with X509 Certificates (HTTPs and Node Trust)" from the Manual
Server Installation instructions. I've also set all Endpoints to
"acceptAllCerts" to true as well. Unfortunately, I receive the following
exception as soon as I access the shrine-webclient.

javax.net.ssl.SSLHandshakeException:
java.security.cert.CertificateException: No subject alternative names
present
	at 
com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLCo
nnectionClientHandler.java:151)
	at com.sun.jersey.api.client.Client.handle(Client.java:648)
	at com.sun.jersey.api.client.WebResource.handle(WebResource.java:680)
	at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
	at 
com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:558)
	at net.shrine.client.JerseyHttpClient.post(JerseyHttpClient.scala:54)
	at net.shrine.client.Poster.post(Poster.scala:10)
Š

I recognize this is an issue of trust, but I'm uncertain how to proceed
from this point.

Does anyone have a suggestion of where to go from here?

Thanks,
Erik

--
Erik Benton
Research Associate / Informatics Software Developer
Oregon Clinical + Translational Research Institute ­ BioMedical
Informatics Program
Oregon Health & Science University







More information about the Shrine-users mailing list