Not able to a https web service in ColdFusion 8 - web-services

We are trying to add a https web service via CFadmin in ColdFusion 8.
We have two ColdFusion applications. One on ColdFusion 2016 and other in ColdFusion 8.
The CF8 application consumes few of the Web services of CF2016 application.
Recently, we added SSL to CF2016 application. So now the URLs of this application are HTTPS.
After it, few of the modules of cf8 that were consuming the webservices of cf2016 stopped working.
We figured it out that we need to update the webservice urls in cf8 with https urls.
We tried to update the webservice urls in CFAdmin but with no success. ColdFusion doesnot allow us to do it. It shows one error message
Error creating web service. Please ensure that you have entered a correct Web Service name or URL.
We have checked the WS url in browser. It's returning the WSDL XML.
After a bit of searching we found this link
http://www.richarddavies.us/archives/2006/02/enabling_web_services.php
It suggests to add the SSL certificate to ColdFusion's Java Keystore and restart ColFusion services. We followed the steps - Imported the SSL certificate to keystore and restarted coldfusion service. But no success. We also tried restarting the whole server.
Can some suggest what else needs to be done to add HTTPS webservice to ColdFusion 8. We are currently clueless.
Configuration:
App1(non ssl) - CF8-multiserver, java6,iis7.5, windows server 2008 r2
App2(SSL installed) - CF2016, java8, iis8.5, windows server 2012 R2

The quickest solution you can do is to upgrade the CF8 to cf2016.
If Windows 2003 Server as there is no support from Microsoft for TLS 1.1 or 1.2 in this server version.
https://blogs.msdn.microsoft.com/kaushal/2011/10/02/support-for-ssltls-protocols-on-windows/

Related

Consume Https Soap web service in ASP.NET Core 5

I have an HTTPS soap web service that has a certificate.
Firstly, I install that certificate as "local machine" in "Trusted Root Certification Authorities".
Then, I can connect to it and add a reference to it in the .NET Framework project.
But I have a problem when trying to consume it in the ASP.NET Core5 project. When I try to add it as a "WCF Web Service Reference", I got this error:
An error occurred while attempting to find services at 'https://15.5.36.23/yxxx/soap/yyyy?wsdl'.
The request was aborted: Could not create SSL/TLS secure channel.
I use Windows 10 and Visual Studio 2019 V16.10.2.
How can I fix it?
Thanks

I m getting 'Stripe doesn't support HTTPS connections with TLS 1.0' error when calling stripe API

I am getting below error when accessing the stripe API using ColdFusion.
Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later.'
This is related JRE issue in coldfusion. Most of the payment gateways doesn't support TLS 1.0. So, we need to update the Java JRE in our coldfusion server.
How to fix:
Upgrade to Java 8.
Login to ColdFusion Administrator > Java JVM
Change the path of the JVM to the new installed path (defaults to: C:\Program Files\Java\jre1.8.0_102 in windows. )
Restart ColdFusion Server - Service.
Re-Test.. it should work now..

Invoking https web services from Glassfish 4 returns HTTPS 403 Error

I am developing a web service client with NetBeans 7.4 in Glassfish 4.0; The host server runs https (secured). I could access the WSDL in NetBeans successfully and generated the required classes. The problem is that I get a error:
com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 403: Forbidden
when I deploy my application into Glassfish 4.0. Interestingly, this problem does not occur when I deploy into Tomcat or when I develop, build and run as a Java Desktop application.
Is there some setup I need to do on Glassfish? I noticed the host server I am accessing uses a Verisign Certificate.
Any help will be very much appreciated!
Well, after searching everywhere for a solution; I got the hint from My application on Glassfish 3.1 won't perform client authentication by removing -Dcom.sun.enterprise.security.httpsOutboundKeyAlias=s1as from the default glassfish domain's jvm option
Thanks!

SOAP client in IIS cannot access web services in Tomcat

I have IIS (localhost:443) and Tomcat (localhost:8080) both running on my local machine. The Tomcat contains Java web services and I can remotely debug it in Eclipse IDE. I have an application installed in my IIS and when I access the page of that application, it requests a web service in Tomcat.
The problem is that when I try to load the page (the one deployed in IIS), my Eclipse won't go to the break point, meaning no request was retrieved on the Tomcat side.
But when I try to execute a request using SoapUI, Tomcat receives it and it enters my breakpoint in Eclipse. (meaning that the web services are accessible)
I cannot debug the application in IIS so I cannot determine why it can't call the web service.
Do I need to setup Windows Firewall for it? I'm just running those apps in my local machine.
Any ideas?
I got it working. My problem was permission issues in c:\windows\temp directory. I found my answer here http://nishantrana.wordpress.com/2008/02/06/unable-to-generate-a-temporary-class-result1-error-cs2001-source-file-cwindowstempfilenamecs-could-not-be-found-error-cs2008-no-inputs-specified/

GlassFish Server (open source) ColdFusion "requested resource is not available" error

We are in the process of moving a website coded in ColdFusion and Fusebox framework to a new host (from GoDaddy who is ceasing to support CF to HostMySite).
Our url structure is currently setup like /index.cfm/home.register redirecting through a cfscript to the "full" url of /index.cfm?fuseaction=home.register
We are receiving the following error message:
HTTP Status 404 -
type Status report
message
descriptionThe requested resource () is not available.
GlassFish Server Open Source Edition 3.1
I am not a CF or Windows guy, this is an old site and we are just trying to get it to run on another server to bide us some time until we can rewrite it.
Any clue as to how to what is wrong and how to get it to work? HostMySite support has been completely unresponsive thus far.
Any help would be greatly appreciated!
Brandon, just for the sake of correctness; Glassfish is Oracle's java server and comes in an open source flavour. http://glassfish.java.net/
Glassfish is not a ColdFusion server.
It is possible to deploy j2ee versions of Adobe ColdFusion, Railo or OpenBD using glassfish.
JRun is the only Java server that comes with the SES rewriting built in. However, it is possible to rewrite urls using most Java servers or at the least by fronting the java server with a web server such as IIS, Apache or nginx.
After several discussion with tech support, we confirmed that "GlassFish Server" is an open source ColdFusion server, and it does not support the search engine friendly URL code we were using. We had to switch hosts to a host that used actual CF server.