I am trying to extract the public key from a digital certificate that is not associated to my userid. Either another user or a batch ID. The message from saf-ssh-agent is:
SafSshAgent[E]: Keyring: 'DDT51###KeyRing' was not found
What needs to be setup to allow access to the public key for digital certificates owned by other identities?
The JCL used is:
//EXTRACT EXEC PGM=BPXBATCH
//STDPARM DD *
sh saf-ssh-agent -x -f /tmp/DDT51###.pub DDT51###KeyRing
/*
//STDOUT DD PATH='/tmp/&SYSUID..out',
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
// PATHMODE=SIRWXU
//STDERR DD PATH='/tmp/&SYSUID..err',
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
// PATHMODE=SIRWXU
Using saf-ssh-agent on 'other' digital certificate
Re: Using saf-ssh-agent on 'other' digital certificate
The full syntax for specifying a certificate is:
owner/keyring:label
owner/ - defaults to the current userid
:label - defaults to the "default" label on the key ring.
owner/keyring:label
owner/ - defaults to the current userid
:label - defaults to the "default" label on the key ring.