Any guesses what this means:

/u/vendor/openssl7/openssl-1.0.1e/apps > ./openssl
bash: ./openssl: cannot execute binary file: EDC5130I Exec format error.

That's the only copy of an OpenSSL executable I can find on our 3.1 system (via 
find / -t -name openssl)

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Farley, Peter
Sent: Tuesday, May 13, 2025 2:15 PM
To: [email protected]
Subject: Re: problems with openssl in USS

Openssl on z/OS is part of Communications Server, delivered with z/OS.  No port 
needed.

From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Kirk Wolf
Sent: Tuesday, May 13, 2025 2:03 PM
To: [email protected]
Subject: Re: problems with openssl in USS


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://urldefense.com/v3/__https://coztoolkit.com__;!!Ebr-cpPeAnfNniQ8HSAI-g_K5b7VKg!Jc7Ydg4S1tPPAApY1EBBvF8vpnZdBYc6wWhIRX0mwZBQbTBMdaf11R2wmvddby1MbzVatIxeZH3iSmbmI8n7Xg$<https://urldefense.com/v3/__https:/coztoolkit.com__;!!Ebr-cpPeAnfNniQ8HSAI-g_K5b7VKg!Jc7Ydg4S1tPPAApY1EBBvF8vpnZdBYc6wWhIRX0mwZBQbTBMdaf11R2wmvddby1MbzVatIxeZH3iSmbmI8n7Xg$>



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]<mailto:[email protected]>> wrote:

>

> > Which port of openssl?

> >

> > Kirk Wolf

> > Dovetailed Technologies

> > https://urldefense.com/v3/__https://coztoolkit.com__;!!Ebr-cpPeAnfNn
> > iQ8HSAI-g_K5b7VKg!Jc7Ydg4S1tPPAApY1EBBvF8vpnZdBYc6wWhIRX0mwZBQbTBMda
> > f11R2wmvddby1MbzVatIxeZH3iSmbmI8n7Xg$<https://urldefense.com/v3/__ht
> > tps:/coztoolkit.com__;!!Ebr-cpPeAnfNniQ8HSAI-g_K5b7VKg!Jc7Ydg4S1tPPA
> > ApY1EBBvF8vpnZdBYc6wWhIRX0mwZBQbTBMdaf11R2wmvddby1MbzVatIxeZH3iSmbmI
> > 8n7Xg$>

> >

> > 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:

--

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.

----------------------------------------------------------------------
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