Ive got past the original problem of using openssl.
I can create a certificate and use it.
If I try to display the private key contents using *openssl x509 -in $1.pem
-text -noout*, it has problems.  I dont think openssl x509 supports
private  keys - though I think I have done this once on Linux...  checking
with other keys - they fail the same sort of way.  So this could all be a
user error!
I didn't have to do anything with code pages etc.
I also had problems getting from a RACF key data set down and using openssl
on that... but that is on the back boiler.
Colin

On Mon, 19 May 2025 at 16:30, Pommier, Rex <
[email protected]> wrote:

> Phil,
>
> I know this is probably a dumb question, but are you sure you got the
> right openssl program and not a version compiled for an x86 or some other
> processor type?
>
> Rex
>
> -----Original Message-----
> From: IBM Mainframe Discussion List <[email protected]> On Behalf
> Of Phil Smith III
> Sent: Monday, May 19, 2025 10:20 AM
> To: [email protected]
> Subject: [EXTERNAL] Re: problems with openssl in USS
>
> Nobody? Very few hits on the web for EDC5130I.
> https://urldefense.com/v3/__https://www.ibm.com/docs/en/devops-deploy/8.0.1?topic=platform-troubleshooting-problems-zos__;!!KjMRP1Ixj6eLE0Fj!q9XFkLdVJd3j3vBh2ZNRrQVUl-8wAL-D6cL9hNG6gv-VlKWnB3qMTycdYYA1-ZNE8uLedOq__iSSR4U$
> talks about BPX_SHAREAS=YES and points to
> https://urldefense.com/v3/__https://www.ibm.com/docs/en/zos/2.3.0?topic=shell-setting-bpx-shareas-bpx-spawn-script__;!!KjMRP1Ixj6eLE0Fj!q9XFkLdVJd3j3vBh2ZNRrQVUl-8wAL-D6cL9hNG6gv-VlKWnB3qMTycdYYA1-ZNE8uLedOq_51U5Y3o$
> which talks about setting _BPX_SHAREAS (note additional leading
> underscore). I tried all four values: _BPX_SHAREAS and BPX_SHAREAS as YES
> and NO and got the same error every time.
>
> -----Original Message-----
> From: IBM Mainframe Discussion List <[email protected]> On Behalf
> Of Phil Smith III
> Sent: Tuesday, May 13, 2025 2:48 PM
> To: [email protected]
> Subject: Re: problems with openssl in USS
>
> 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 / -type f -name openssl)
>
> ----------------------------------------------------------------------
> 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