Hello
firstly, apologies if this is not correct place to post this query - i am still trying to find my way around the support forum
I have created a number of API endpoints using the Web Administration for i tools. All of my services use authentication and secure transport. The problem arises when i attempt to use QSHELL to deploy any of these services to another web server via script - the services are created, but i can not find a way to ensure that SSL is true for the new service, it always defaults to false.
I am using getWebServiceProperties.sh script to retrieve the properties of the service i want to replicate, which shows that SSL is true. However after using installWebService.sh to create the same service on a different webserver (or even just creating a renamed version of the service on the same webserver), and specifying the correct *pcml file location which contains the underlying properties which include SSL=true, the new service is always created with SSL=false: (i have removed the User ID from below screenshot).
when i view the properties of the original service in qshell, i can see that SSL is definitely true:
However, any new service i create via installWebService.sh, and specifying the pcml location, will always be created with SSL=false. I have trawled through the IWS documentation (
https://public.dhe.ibm.com/systems/support/i/iws/systems_i_software_iws_pdf_WebServicesServer_new.pdf) and cannot find any other parameter on the installWebService.sh that would enable me to specifically set SSL on the new web service. I've also been unable to find any way of changing the SSL property on a service via the setWebServiceProperties.sh command. This is obviously not ideal as while i can use QSHELL to script the creation of all other aspects of these web services, if i cannot set SSL to true, it means i will need to manually amend the security properties of each new service via 'Manage deployed services' section of Web Administration for i page.
I can't believe that there is no way to set the SSL property of a web service set to true via a command - any help would be greatly appreciated!!
Thanks, Neil
------------------------------
neil duncan
------------------------------