Security
Showing results for 
Search instead for 
Do you mean 

Problem running CDSA DES sample program.

Honored Contributor [Founder]

Problem running CDSA DES sample program.

System is bl860c running OpenVMS 8.3-1h1.

I am trying to compile and run the DES sample program supplied in SYS$COMMON:[SYSHLP.EXAMPLES.CDSA.DES].

I have followed the instructions meticulously, (see attachment), however when I try to execute the command and encrypt a file, I get

TABBUD$SYSTEM>> des -e -k "this is a test" login.tst login.xxx
CSSM_Init: CSSM error 0x1003
TABBUD$SYSTEM>>

this then translates as;

TABBUD$SYSTEM>>
TABBUD$SYSTEM>> trans :== $SYS$SYSDEVICE:[SYS0.SYSCOMMON.SYSEXE]CDSA$OUTPUT_ERROR.EXE
TABBUD$SYSTEM>>
TABBUD$SYSTEM>> $ trans -h 0x1003
Error: CSSMERR_CSSM_MDS_ERROR
The MDS could not be accessed to complete the operation

TABBUD$SYSTEM>>

Has anyone seen this before? Note the procedure works on my V8.4 node, unfortunately I am not prepared to test it on any of my other V8.3-1H1 nodes incase there are consequences.

additional information:

TABBUD$SYSTEM>> product show history
------------------------------------ ----------- ----------- --- -----------
PRODUCT KIT TYPE OPERATION VAL DATE
------------------------------------ ----------- ----------- --- -----------
HP I64VMS VMS831H1I_SYS_MUP V13.0 Patch Install Val 16-DEC-2010
HP I64VMS VMS831H1I_FIBRE_SCSI V8.0 Patch Install Val 16-DEC-2010
HP I64VMS VMS831H1I_DEBUG V3.0 Patch Install Val 16-DEC-2010
HP I64VMS VMS831H1I_DDTM V2.0 Patch Install Val 16-DEC-2010
HP I64VMS VMS831H1I_ACMELDAP V2.0 Patch Install Val 16-DEC-2010
HP I64VMS SSL V1.4-335 Full LP Install Val 08-NOV-2010
HP I64VMS SSL V1.3-284 Full LP Remove - 08-NOV-2010
HP I64VMS JAVA60 V1.6-1 Full LP Install Val 08-NOV-2010
HP I64VMS VMS831H1I_UPDATE V9.0 Patch Install Val 08-NOV-2010
HP I64VMS VMS831H1I_PCSI V2.0 Patch Install Val 08-NOV-2010
HP I64VMS VMS831H1I_SYS_MUP V11.0 Patch Install Val 23-JUL-2010
HP I64VMS VMS831H1I_ACC V2.0 Patch Install Val 23-JUL-2010
HP I64VMS VMS831H1I_DCL V2.0 Patch Install Val 23-JUL-2010
HP I64VMS VMS831H1I_DDTM V1.0 Patch Install Val 23-JUL-2010
HP I64VMS VMS831H1I_HYPERSORT V2.0 Patch Install Val 23-JUL-2010
HP I64VMS VMS831H1I_IA64_LINK V1.0 Patch Install Val 23-JUL-2010
HP I64VMS VMS831H1I_LIBRTL V1.0 Patch Install Val 23-JUL-2010
HP I64VMS VMS831H1I_LOGIN V1.0 Patch Install Val 23-JUL-2010
HP I64VMS VMS831H1I_RPC V1.0 Patch Install Val 23-JUL-2010
HP I64VMS VMS831H1I_XFC V2.0 Patch Install Val 23-JUL-2010
HP I64VMS VMS831H1I_UPDATE V8.0 Patch Install Val 23-JUL-2010
HP I64VMS OSIFM_BL860C V4.21-A Full LP Remove - 23-JUL-2010
HP I64VMS OSIFM_BL860C V4.21-A Full LP Install Val 23-JUL-2010
HP I64VMS VMS831H1I_BACKUP V1.0 Patch Install Val 22-JUN-2010
HP I64VMS VMS831H1I_FIBRE_SCSI V6.0 Patch Install Val 27-APR-2010
HP I64VMS VMS831H1I_HYPERSORT V2.0 Patch Install Val 27-APR-2010
HP I64VMS VMS831H1I_PTHREAD V2.0 Patch Install Val 27-APR-2010
HP I64VMS VMS831H1I_SYS V10.0 Patch Install Val 27-APR-2010
HP I64VMS LTT V4.5-1 Full LP Install (U) 28-MAR-2010
HP I64VMS TCPIP V5.6-9ECO5 Full LP Install Val 09-MAR-2010
HP I64VMS TCPIP V5.6-9ECO3 Full LP Remove - 09-MAR-2010
HP I64VMS VMS831H1I_ACRTL V4.0 Patch Install Val 18-JAN-2010
HP I64VMS VMS831H1I_BASRTL V1.0 Patch Install Val 18-JAN-2010
HP I64VMS VMS831H1I_LAN V3.0 Patch Install Val 18-JAN-2010
HP I64VMS VMS831H1I_UPDATE V7.0 Patch Install Val 18-JAN-2010
HP I64VMS SAMBA V1.1-1 Full LP Install Val 30-NOV-2009
HP I64VMS SAMBA V1.1-1 Full LP Remove - 30-NOV-2009
HP I64VMS SAMBA V1.1-1 Full LP Install Val 30-NOV-2009
HP I64VMS VMS831H1I_JOBCTL V3.0 Patch Install Val 14-SEP-2009
HP I64VMS VMS831H1I_SYS V7.0 Patch Install Val 14-SEP-2009
HP I64VMS VMS831H1I_PTHREAD V1.0 Patch Install Val 04-SEP-2009
HP I64VMS VMS831H1I_IPMIAPI V1.0 Patch Install Val 04-SEP-2009
HP I64VMS VMS831H1I_SHADOWING V2.0 Patch Install Val 04-SEP-2009
HP I64VMS VMS831H1I_TDF V1.0 Patch Install Val 04-SEP-2009
HP I64VMS VMS831H1I_SYS V6.0 Patch Install Val 04-SEP-2009
HP I64VMS VMS831H1I_SMGRTL_MUP V1.0 Patch Install Val 13-JUL-2009
HP I64VMS VMS831H1I_ACMELDAP V1.0 Patch Install Val 10-JUL-2009
HP I64VMS VMS831H1I_COBRTL V1.0 Patch Install Val 10-JUL-2009
HP I64VMS VMS831H1I_LOGIN V1.0 Patch Install Val 10-JUL-2009
HP I64VMS VMS831H1I_SYS V4.0 Patch Install Val 10-JUL-2009
HP I64VMS VMS831H1I_UPDATE V6.0 Patch Install Val 10-JUL-2009
HP I64VMS VMS831H1I_DCL V1.0 Patch Install Val 11-JUN-2009
HP I64VMS VMS831H1I_MANAGE V3.0 Patch Install Val 11-JUN-2009
HP I64VMS OSIFM_BL860C V4.21 Full LP Remove - 11-JUN-2009
HP I64VMS OSIFM_BL860C V4.21 Full LP Install Val 11-JUN-2009
HP I64VMS VMS831H1I_DELETE V1.0 Patch Install Val 12-MAY-2009
HP I64VMS VMS831H1I_DRIVER V1.0 Patch Install Val 12-MAY-2009
HP I64VMS VMS831H1I_IPC V2.0 Patch Install Val 12-MAY-2009
HP I64VMS VMS831H1I_NETACP V1.0 Patch Install Val 12-MAY-2009
HP I64VMS VMS831H1I_USB V1.0 Patch Install Val 12-MAY-2009
HP I64VMS CSWS V2.1-1 Full LP Install Val 23-MAR-2009
HP I64VMS VMS831H1I_MAILSHR V1.0 Patch Install Val 23-MAR-2009
HP I64VMS VMS831H1I_XFC V1.0 Patch Install Val 23-MAR-2009
HP I64VMS VMS831H1I_UPDATE V5.0 Patch Install Val 23-MAR-2009
HP I64VMS CSWS V2.1-1 Full LP Install Val 21-MAR-2009
HP I64VMS CSWS V2.1-1 Full LP Install Val 21-MAR-2009
HP I64VMS OSIFM_BL860C V4.11 Full LP Remove - 20-MAR-2009
HP I64VMS OSIFM_BL860C V4.11 Full LP Install Val 20-MAR-2009
HP I64VMS CSWS V2.1-1 Full LP Install Val 11-MAR-2009
HP I64VMS VMS831H1I_UPDATE V4.0 Patch Install Val 23-FEB-2009
HP I64VMS TCPIP V5.6-9ECO3 Full LP Install Val 23-FEB-2009
HP I64VMS TCPIP V5.6-9ECO2 Full LP Remove - 23-FEB-2009
HP I64VMS VMS831H1I_DEBUG V2.0 Patch Install Val 16-JAN-2009
HP I64VMS VMS831H1I_PPPD V1.0 Patch Install Val 16-JAN-2009
HP I64VMS VMS831H1I_JOBCTL V2.0 Patch Install Val 12-DEC-2008
HP I64VMS VMS831H1I_ACRTL V3.0 Patch Install Val 12-DEC-2008
HP I64VMS VMS831H1I_SYS V3.0 Patch Install Val 12-DEC-2008
HP I64VMS VMS831H1I_SHADOWING V1.0 Patch Install Val 12-DEC-2008
HP I64VMS VMS831H1I_ICXXL V2.0 Patch Install Val 12-DEC-2008
HP I64VMS VMS831H1I_UPDATE V3.0 Patch Install Val 12-DEC-2008
HP I64VMS VMS831H1I_BASRTL V1.0 Patch Install Val 29-OCT-2008
HP I64VMS VMS831H1I_COPY V2.0 Patch Install Val 29-OCT-2008
HP I64VMS VMS831H1I_F11X V1.0 Patch Install Val 29-OCT-2008
HP I64VMS VMS831H1I_FIBRE_SCSI V3.0 Patch Install Val 29-OCT-2008
HP I64VMS VMS831H1I_HYPERSORT V1.0 Patch Install Val 29-OCT-2008
HP I64VMS VMS831H1I_IA64_LINK V1.0 Patch Install Val 29-OCT-2008
HP I64VMS VMS831H1I_IVMSLOA V1.0 Patch Install Val 29-OCT-2008
HP I64VMS VMS831H1I_LAN V2.0 Patch Install Val 29-OCT-2008
HP I64VMS LTT V4.5-1 Full LP Install (U) 16-OCT-2008
HP I64VMS CXX V7.2-18 Full LP Install (U) 26-SEP-2008
HP I64VMS C V7.3-18 Full LP Install Val 26-SEP-2008
HP I64VMS FORTRAN V8.1-2 Full LP Install (U) 26-SEP-2008
HP I64VMS VMS831H1I_SORT32 V1.0 Patch Install Val 25-SEP-2008
HP I64VMS VMS831H1I_IMGDMP V1.0 Patch Install Val 25-SEP-2008
HP I64VMS VMS831H1I_DEBUG V1.0 Patch Install Val 25-SEP-2008
HP I64VMS VMS831H1I_UPDATE V2.0 Patch Install Val 25-SEP-2008
HP I64VMS VMS831H1I_PCSI V1.0 Patch Install Val 25-SEP-2008
HP I64VMS VMS831H1I_IPB V2.0 Patch Install Val 25-SEP-2008
HP I64VMS VMS831H1I_UPDATE V1.0 Patch Install Val 25-SEP-2008
HP I64VMS MGAGPAT V3.4-2 Patch Install Val 26-JUN-2008
HP I64VMS DCPS_ECO3 V2.6 Patch Install (U) 26-JUN-2008
HP I64VMS VMS831H1I_ICAP V1.0 Patch Install Val 26-JUN-2008
HP I64VMS VMS831H1I_RAMDISK V1.0 Patch Install Val 26-JUN-2008
HP I64VMS VMS831H1I_AMACRO2K V1.0 Patch Install Val 26-JUN-2008
HP I64VMS VMS831H1I_ICXXL V1.0 Patch Install Val 26-JUN-2008
HP I64VMS VMS831H1I_FIBRE_SCSI V2.0 Patch Install Val 25-JUN-2008
HP I64VMS VMS831H1I_EFI V1.0 Patch Install Val 25-JUN-2008
HP I64VMS VMS831H1I_RMS V2.0 Patch Install Val 25-JUN-2008
HP I64VMS VMS831H1I_SYS V2.0 Patch Install Val 25-JUN-2008
HP I64VMS VMS831H1I_PCSI V1.0 Patch Install Val 25-JUN-2008
HP I64VMS VMS831H1I_UPDATE V1.0 Patch Install Val 25-JUN-2008
HP I64VMS RTR V5.1-423 Full LP Install Val 24-JUN-2008
HP I64VMS VMSI18N V8.3-1 Full LP Install Val 24-JUN-2008
HP VMS AVAIL_MAN_COL V3.0-2 Full LP Install Val 24-JUN-2008
HP I64VMS VT V2.1-K Full LP Install Val 24-JUN-2008
HP I64VMS FTAM V4.1-A Full LP Install Val 24-JUN-2008
HP I64VMS OSAK V3.0-V Full LP Install Val 24-JUN-2008
HP I64VMS MGMTAGENTS V3.4-1 Full LP Install Val 24-JUN-2008
HP I64VMS DCPS V2.6 Full LP Install Val 24-JUN-2008
HP I64VMS DCE V3.2 Full LP Install (U) 24-JUN-2008
HP I64VMS CSWS V2.1-1 Full LP Install Val 24-JUN-2008
HP I64VMS JAVA150 V1.5-3 Full LP Install Val 24-JUN-2008
HP I64VMS CSWB V1.7-13 Full LP Install Val 24-JUN-2008
HP I64VMS DECNET_PLUS V8.3-1H1 Full LP Install Val 11-OCT-2007
HP I64VMS AVAIL_MAN_BASE V8.3-1H1 Full LP Install (U) 11-OCT-2007
HP I64VMS CDSA V2.3-306 Full LP Install Val 11-OCT-2007
HP I64VMS DWMOTIF V1.6 Full LP Install Val 11-OCT-2007
HP I64VMS DWMOTIF_SUPPORT V8.3-1H1 Full LP Install (U) 11-OCT-2007
HP I64VMS KERBEROS V3.1-152 Full LP Install Val 11-OCT-2007
HP I64VMS OPENVMS V8.3-1H1 Platform Install Sys 11-OCT-2007
HP I64VMS SSL V1.3-284 Full LP Install Val 11-OCT-2007
HP I64VMS TCPIP V5.6-9ECO2 Full LP Install Val 11-OCT-2007
HP I64VMS TDC_RT V2.3-1 Full LP Install Val 11-OCT-2007
HP I64VMS VMS V8.3-1H1 Oper System Install Sys 11-OCT-2007
HP I64VMS WBEMCIM V2.61-A070728 Full LP Install Val 11-OCT-2007
HP I64VMS WBEMPROVIDERS V1.5-31 Full LP Install Val 11-OCT-2007
------------------------------------ ----------- ----------- --- -----------
136 items found

Also have PMDF 6.5 and VAM 21.A installed via VMSINSTAL.

4 REPLIES
Honored Contributor [Founder]

Re: Problem running CDSA DES sample program.

This blade has been through a long history of changes and upgrades and likely reconfigurations, and had an earlier and pre-integration V2.3-306 release of CDSA installed.

See if a clean install of OpenVMS V8.3-1H1 works here. Mount a scratch disk on the blade itself or elsewhere in the configuration, load VMS and C and log in as SYSTEM (you don't need networking or most anything else), and see if the example works.
Honored Contributor [Founder]

Re: Problem running CDSA DES sample program.

Occasional Visitor

Re: Problem running CDSA DES sample program.

I suggested the following:
$set def sys$common:[000000]
$rename cdsa.dir save_cdsa.dir !just in case
$create/dir [CDSA]

Mount your OpenVMS v8.3-1h1 dvd - in my case the dvd is $3$dqa0

$backup $3$DQA0:[SYS0.SYSCOMMON.CDSA...]*.*;* SYS$COMMON:[CDSA...]
$@sys$startup:cdsa$upgrade
$set def sys$common:[SYSHLP.EXAMPLES.CDSA.DES]
$des :== $sys$common:[SYSHLP.EXAMPLES.CDSA.DES]des.exe
!The following assumes that login.tst exists:
$des -e -k "this is a test" login.tst login.xxx
Highlighted
Honored Contributor [Founder]

Re: Problem running CDSA DES sample program.

After a week of tearing hair and making Dan's life a misery, the cause of the problem has been determined.

It appears that executing the JAVA$60_SETUP
command file is what breaks the DES stuff, (see attachment).

Dan is still working on the specifics.

Dave.