Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Kroupa #1
SSL, Web Service, and Apache not working together
I've been trying to get this connection to work for a while now, but can't seem
to figure out exactly what is wrong. When I try to invoke this web service I
get the following error:
Could not generate stub objects for web service invocation.
Name: [url]https://......./reqservice.asmx?[/url]. WSDL:
[url]https://......./reqservice.asmx?[/url]. javax.net.ssl.SSLPeerUnverifiedException:
peer not authenticated It is recommended that you use a web browser to retrieve
and examine the requested WSDL document for correctness. If the requested WSDL
document can't be retrieved or it is dynamically generated, it is likely that
the target web service has programming errors.
I have installed the certificate using keytool in cold fusions java home. I
have also installed it the Apache certifcate store. But I still get this
error. Has anyone configured CF and Apache on UNIX with the certificates?
In my apache config file, I have this, should the Ssl be set to something
other than false?
# JRun Settings
LoadModule jrun_module /opt/coldfusionmx7/runtime/lib/wsconfig/1/mod_jrun.so
<IfModule mod_jrun.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore
/opt/coldfusionmx7/runtime/lib/wsconfig/1/jrunserver.
store
JRunConfig Bootstrap 127.0.0.1:51011
#JRunConfig Errorurl <optionally redirect to this URL on errors>
#JRunConfig ProxyRetryInterval 600
#JRunConfig ConnectTimeout 15
#JRunConfig RecvTimeout 300
#JRunConfig SendTimeout 15
AddHandler jrun-handler .jsp .jws
</IfModule>
Here is my calling code:
<cfinvoke
webservice="https://......./reqservice.asmx?"
method="WSNPKIRequest"
returnvariable="returned">
<cfinvokeargument name="protocolVersion" value="#protocolVersion#"/>
<cfinvokeargument name="activationKey" value="#activationKey#"/>
<cfinvokeargument name="coreID" value="#coreID#"/>
<cfinvokeargument name="coreIDPassword" value="#coreIDPassword#"/>
<cfinvokeargument name="motOrderNumber" value="#motOrderNumber#"/>
<cfinvokeargument name="countryCode" value="#countryCode#"/>
<cfinvokeargument name="enterpriseName" value="#enterpriseName#"/>
<cfinvokeargument name="dueDate" value="#dueDate#"/>
</cfinvoke>
<cfdump label="newRequest" var="#returned#">
Any help would be appreciated.
Thanks
Kroupa Guest
-
working with xampp/apache
How do I set-up a test server If I use a MySQL and an Apache server in a xampp bundle. I did not find sufficiant information in the tutorials -
Apache Connector not working RH EL4
Does Coldfusion MX 7 work in Red Hat Enterprise 4? I installed it in silent mode and ran the cf_apache_connector.sh (with the right parameters) and... -
UserInRole not working on Mac+Apache+Tomcat
For local development purposes I am trying to get a Coldfusion site I maintain to run on my OS X laptop. The production site runs on IIS 5 +... -
Coldfusion not working with Apache Virtual Hosts
bigreddastud, Thank you. Thank you. Thank you. This problem has been plagueing us for months. We have a complicated architecture and fingers were... -
Problem with Apache Web Server config file and PHP working together Please help!!
HI: I installed Apache Web Server on my laptop which has Windows XP. I then installed PHP. I followed the directions in the book I had on...



Reply With Quote

