We're running UCCX 7.0(1)SR03 and currently have a working script that talks to a webservice using URL doc/GET XML doc steps.
When I looked at this a few months ago, I got a IO exceptions (sorry, don't have a note - but they were different from the exceptions we are getting now) and gave up after a while and stuck with http, but I need to rectify this.
The exception that is raised is:
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: sun.security.provider.certpath.AdjacencyList
A quick google doesn't really help much.
I did suspect it might be related to the CA certs in the included version of Java, so imported these using keytool, but still the same behaviour.
Does anyone have a script using https?
Any assistance appreciated!
Ed - thanks.
That'll be fun - I have close to zero knowledge of Java!
Was also hoping to make this as clean as possible, for the impending move to UCCX 8 - as I understand there have been some problems with using custom Java classes?
Other options would be Plan A: allow non-SSL connections from the UCCX server.
Or plan B : put in another web server running whatever you find easiest to program, and have that read the file from the HTTPS server, then relay it back to the client (the UCCX server) over a non-SSL connection.
Took a step back and revisted doc URL https support this morning.
Turns out it *does* work – provided you use a cert (on the webservice) that is signed by a 3rd party CA that is in the JRE trust list
It works with a Geotrust root signed cert.
I imported our internal CA certs to the Java keystore but they just don’t work (although, admittedly I haven’t restarted the CRS engine, so that might have something to do with it)
I'm having the same problem. I tried with a Verisign certificate, but with a trial certificate as root for my webservice certificate. It didn't work, probably becaus JRE does not have the Verisign Trial Secure Server CA – G2
When you tried with the GeoTrust certificate, it was also a trial version?
Yes - GeoTrust certificate was initally a trial, then once proven we purchased and all was well. Cert chain is as follows (the last cert I've blanked out in the image):
Hope this helps!