Try this, see if it gets you what you need. 

curl https://example.com -vI

Mark Jacobs 

Sent from ProtonMail, Swiss-based encrypted email.

GPG Public Key - 
https://api.protonmail.ch/pks/lookup?op=get&[email protected]


------- Original Message -------
On Saturday, August 26th, 2023 at 2:06 PM, Jerry Whitteridge 
<[email protected]> wrote:


> Unfortunately my system is responding expired cert and drops the connection 
> before I can do that - which is why I'm trying to get the cert details
> 
> J
> -----Original Message-----
> From: IBM Mainframe Discussion List [email protected] On Behalf Of 
> Charles Mills
> 
> Sent: Saturday, August 26, 2023 11:03 AM
> To: [email protected]
> Subject: Re: EXTERNAL EMAIL: Re: Retrieving Certificate details from a server
> 
> In my emulator if I click on the padlock icon I get
> 
> OpenSSL Version: OpenSSL 1.0.1g 7 Apr 2014
> Encryption: AES256-GCM-SHA384 - 256 bits
> Protocol: TLSv1.2
> Issued By: DigiCert Inc
> Organization: International Business Machines Corporation
> Distinguished Name: unknown
> Department: unknown
> Country: US
> State/Province: New York
> City: Armonk
> Domain: dtsc.dfw.ibm.com
> Valid: From 2023-04-05 00:00:00 to 2024-04-04 23:59:59
> 
> This is with Tom Brennan's Vista. Your mileage may vary.
> 
> Charles
> 
> On Sat, 26 Aug 2023 17:46:44 +0000, Jerry Whitteridge 
> [email protected] wrote:
> 
> > Thanks Charles I was just starting to look at if curl would do it.
> > 
> > This is a TN3270 server on z/OS that I want to check what cert it is 
> > presenting to the user for a TLS connection.
> 
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
> ________________________________
> Warning: All e-mail sent to this address will be received by the corporate 
> e-mail system, and is subject to archival and review by someone other than 
> the recipient. This e-mail may contain proprietary information and is 
> intended only for the use of the intended recipient(s). If the reader of this 
> message is not the intended recipient(s), you are notified that you have 
> received this message in error and that any review, dissemination, 
> distribution or copying of this message is strictly prohibited. If you have 
> received this message in error, please notify the sender immediately.
> ________________________________
> 
> ----------------------------------------------------------------------
> 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