DCM-tools icon indicating copy to clipboard operation
DCM-tools copied to clipboard

Assign certificate to IWS application server

Open spirjade opened this issue 2 years ago • 2 comments

I tried to assign certificate to IWS application

App name : QIBM_HTTP_SERVER_DFTIWSASRV

but getting error

The parameter [1]: Parameter value is not valid.

Is it possible to assign certificate with current code for such application server?

spirjade avatar Sep 21 '22 16:09 spirjade

The dcmassign command is minimally tested, but I was not able to recreate this. Can you please re-run with -v and provide the output? Thanks!

ThePrez avatar Aug 13 '23 22:08 ThePrez

I am having the same problem. I ran it with the -v and here is the output.

-bash-5.1$ dcmassign -v Enter application ID: QIBM_HTTP_SERVER_UPDLOTLOC Assigning to QIBM_HTTP_SERVER_UPDLOTLOC Enter certificate ID: ********** com.ibm.as400.access.ExtendedIllegalArgumentException: The parameter [1]: Parameter value is not valid. at com.ibm.as400.access.ServiceProgramCall.run(ServiceProgramCall.java:321) at com.github.ibmioss.dcmtools.utils.DcmApiCaller.runProgram(DcmApiCaller.java:253) at com.github.ibmioss.dcmtools.utils.DcmApiCaller.callQycdUpdateCertUsage(DcmApiCaller.java:161) at com.github.ibmioss.dcmtools.DcmAssignCmd.main(DcmAssignCmd.java:154)

NickFrazee avatar Aug 28 '23 19:08 NickFrazee