web stats
https support for http sender - Page 2 - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #11  
Old 03-21-2018, 02:32 PM
StickyBandit's Avatar
StickyBandit StickyBandit is offline
Mirth Guru
 
Join Date: Aug 2013
Location: Home Alone
Posts: 955
StickyBandit is on a distinguished road
Question free mirth, no https

The code from #6 Old 10-28-2011, 10:53 AM ironbridge
works and is small and simple.
If this is how easy it is to call HTTPS than why is Mirth still
keeping Https out of the free version? Not sure what the point is?
Reply With Quote
  #12  
Old 03-22-2018, 06:41 AM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 1,170
agermano is on a distinguished road
Default

You can use https in a http sender in the free version. It gives the following warning in a tooltip when I try in 3.4.1:

Code:
Important Notice: The default system certificate store will be used for this
connection. As a result, certain security options are not available and mutual
authentication (two-way authentication) is not supported.
Reply With Quote
  #13  
Old 03-22-2018, 07:44 AM
StickyBandit's Avatar
StickyBandit StickyBandit is offline
Mirth Guru
 
Join Date: Aug 2013
Location: Home Alone
Posts: 955
StickyBandit is on a distinguished road
Question

Maybe I am missing something, but HTTPS sender does not show up in the list.
And when I use HTTP and put in an https: url it does not work.
Reply With Quote
  #14  
Old 03-22-2018, 10:22 AM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 1,170
agermano is on a distinguished road
Default

If the remote site has an invalid/untrusted certificate, I think that's where the default trust store comes in.
Reply With Quote
  #15  
Old 03-23-2018, 04:46 AM
siddharth siddharth is offline
Mirth Guru
 
Join Date: Feb 2013
Posts: 841
siddharth is on a distinguished road
Default

While that code works, not every user will like to think in that direction. They would prefer using the packaged HTTP Sender that comes with Mirth. Every other Integration Engine I know of, has HTTPS sender as part of their commercial offering, so maybe Mirth followed the same model.
__________________
HL7v2.7 Certified Control Specialist!
Reply With Quote
  #16  
Old 03-23-2018, 04:53 AM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 1,170
agermano is on a distinguished road
Default

I tried to GET https://google.com from the free version's HTTP sender, and it worked. I think it usually fails for people because they are using self-signed certs, and java can't validate the certificate.
Reply With Quote
  #17  
Old 03-23-2018, 08:14 AM
StickyBandit's Avatar
StickyBandit StickyBandit is offline
Mirth Guru
 
Join Date: Aug 2013
Location: Home Alone
Posts: 955
StickyBandit is on a distinguished road
Talking

The built in HTTP sender works for me now using an Https URL. For me it was all about the inbound,outbound, and returning destination settings. I just originally thought because of the red X that it was not working/available. I have to say that the red X is a bit confusing. And having Https in the sender list might also be a good idea? What do you think?
Reply With Quote
  #18  
Old 03-23-2018, 09:44 AM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 1,170
agermano is on a distinguished road
Default

I think it would clutter the list. https is just http+ssl, so the http sender still makes sense. If they were separated, would smb writer, sftp writer, webdav writer, etc... need to be separated from the file writer too?
Reply With Quote
  #19  
Old 03-23-2018, 10:30 AM
StickyBandit's Avatar
StickyBandit StickyBandit is offline
Mirth Guru
 
Join Date: Aug 2013
Location: Home Alone
Posts: 955
StickyBandit is on a distinguished road
Cool

The file Writer has a list where one can clearly select if they want sftp.
I have never been confused on that page.
Reply With Quote
  #20  
Old 03-23-2018, 10:44 AM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 1,170
agermano is on a distinguished road
Default

I just mean that it may not be immediately intuitive that when you want to send data via a network protocol like sftp that you need to choose a file writer in the first place. Technically you are sending over tcp, and it may or may not end up actually getting written to a file on the other end.

When you send to an https destination, you're still using http as the protocol. The two property screens would be the same. Maybe it would be better to change the red X to a yellow warning, because I do see how that part is confusing.
Reply With Quote
Reply

Tags
https httpsender

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 06:47 PM.


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