Announcement

Collapse
No announcement yet.

ERROR: Error connecting to HTTP server - SSLHandshakeException

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ERROR: Error connecting to HTTP server - SSLHandshakeException

    Can someone please help explain why I am getting this certificate exception when using an HTTP sender with a blank keystore configured? On Windows Server 2008 R2, the certificate the end site is using is one that is trusted by all web browsers when navigating directly to the URL (which I think would mean I have the local CA's public key already), but cannot be called in any way by an HTTP sender because it cannot find a trusted certificate. Where exactly in the handshake process is this breaking down; on the server's inability to locate the public key for the hosts certificate, can it find the end server's certificate, etc...

    ERROR: Error connecting to HTTP server [SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found]

    What I ultimately want to know is how certificates are loaded\used by Mirth so that I can configure channels to connect to connect to many different sites, each of whom might be using a certificate signed by different CAs.

  • #2
    Originally posted by mirraraenn View Post
    Can someone please help explain why I am getting this certificate exception when using an HTTP sender with a blank keystore configured? On Windows Server 2008 R2, the certificate the end site is using is one that is trusted by all web browsers when navigating directly to the URL (which I think would mean I have the local CA's public key already), but cannot be called in any way by an HTTP sender because it cannot find a trusted certificate. Where exactly in the handshake process is this breaking down; on the server's inability to locate the public key for the hosts certificate, can it find the end server's certificate, etc...

    ERROR: Error connecting to HTTP server [SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found]

    What I ultimately want to know is how certificates are loaded\used by Mirth so that I can configure channels to connect to connect to many different sites, each of whom might be using a certificate signed by different CAs.
    Currently, trusted certificates are loaded via the appdata/truststore.jks file. So if you have a specific certificate that you need to trust, add it there via Portecle or keytool.

    However, in 3.1 we're completely overhauling the SSL Manager plugin to be much easier to use. I highly recommend watching this (starts at 7:19): http://www.mirthcorp.com/protected-c...eveloper-qa-73
    Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

    Nicholas Rupley
    Work: 949-237-6069
    Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


    - How do I foo?
    - You just bar.

    Comment

    Working...
    X