I don't understand. If you are running openssl on z/OS, it would have been 
ported by someone and made available on z/OS.   Rocket?   zopen?    Do you have 
the Enhanced ASCII environment variables set as required for your port of 
openssl?

pem files are text.  What's in the PEM file that you generated?   Is it tagged 
and in the right codepage as required by your port of openssl?

If you take the same pem file (in ASCII) on linux, does your  command work?

Kirk Wolf
Dovetailed Technologies
https://coztoolkit.com

On Mon, May 12, 2025, at 1:28 PM, Colin Paice wrote:
> No port.. the open ssl commands to create a certificate, and sign it
> 
> On Mon, May 12, 2025, 18:38 Kirk Wolf <[email protected]> wrote:
> 
> > Which port of openssl?
> >
> > Kirk Wolf
> > Dovetailed Technologies
> > https://coztoolkit.com
> >
> > On Mon, May 12, 2025, at 11:11 AM, Colin Paice wrote:
> > > I've been struggling for a day with a problem with openssl on z/OS
> > >
> > > It creates the key.pem file - but then cannot use it!  With message
> > > *Could not find certificate from colinpaice.key.pem *
> > >
> > > Has anyone seen this before?
> > >
> > > + openssl genpkey -out colinpaice.key.pem -algorithm RSA -pkeyopt
> > > rsa_keygen_bits:2048 -verbose -outform PEM
> > > ...
> > > + openssl x509 -in colinpaice.key.pem -text -noout
> > >
> > > Could not find certificate from colinpaice.key.pem
> > >
> > > 1864D00000000000:error:1608010C:STORE
> > > routines:ossl_store_handle_load_result:unsupported:crypto/store/
> > > store_result.c:151:
> > >
> > > ----------------------------------------------------------------------
> > > For IBM-MAIN subscribe / signoff / archive access instructions,
> > > send email to [email protected] with the message: INFO IBM-MAIN
> > >
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to [email protected] with the message: INFO IBM-MAIN
> >
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
> 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to