web stats
Cannot https Mirth REST API locally - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 06-14-2018, 08:56 AM
rsaez rsaez is offline
What's HL7?
 
Join Date: Mar 2018
Posts: 1
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
  #2  
Old 06-14-2018, 10:55 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,002
narupley is on a distinguished road
Default

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

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
Reply

Tags
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 03:28 AM.


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