web stats
Cannot https Mirth REST API locally - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 06-14-2018, 08:56 AM
rsaez rsaez is offline
What's HL7?
Join Date: Mar 2018
Posts: 2
rsaez is on a distinguished road
Default Cannot https Mirth REST API locally

Hello comunity
I am trying to access the Mirth REST API locally from Mirth through a HTTP Sender connector.
I get the exception "unable to find valid certification path to requested target".
However, I can perfectly access any endpoint through https://localhost:8443/api/#!/
Any idea or hint would be much appreciated.
Thank you
Reply With Quote
Old 06-14-2018, 10:55 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
Join Date: Oct 2010
Posts: 7,123
narupley is on a distinguished road

Mirth Connect auto-generates a new self-signed certificate on first startup. You should consider replacing that with your own CA-signed cert. There are instructions in the user guide.

If you're using the SSL Manager, you can import that self-signed cert and choose to trust it for your HTTP Sender destination.
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.
Reply With Quote
Old 06-21-2018, 09:20 AM
rsaez rsaez is offline
What's HL7?
Join Date: Mar 2018
Posts: 2
rsaez is on a distinguished road

Thanks for your answer Nicholas.
I don't have a certificate signed by a CA. I am just trying to create a proof of concept in a laptop in order to validate how the Mirth REST API works.
Mirth version is 3.5, running on Windows 7.
Reply With Quote

api, http sender, rest, rest api

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 10:37 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation