[Info-vax] "bad select 38" (OpenSSL on VMS)
RobertsonEricW
robertsonericw at netzero.net
Tue Sep 20 08:14:40 EDT 2016
On Tuesday, September 20, 2016 at 7:51:42 AM UTC-4, Richard Levitte wrote:
> Den tisdag 20 september 2016 kl. 13:37:31 UTC+2 skrev Richard Levitte:
> > (quite frankly, I don't know at all what to expect. I just tried the above command on Linux, and the result was frankly disappointing... the input was simply ignored. I'll have to check why)
>
> Forgot to have '-ign_eof' in the command... gets me every time *sigh*
>
> Cheers,
> Richard
Using OpenVMS GNV Bash the piped input appears to be ignored:
ROBERTSON at srvr1:~/openssl-1_1_0 > (echo "HEAD / HTTP/1.0"; echo "Host: www.openssl.org"; echo) | openssl s_client -ign_eof -connect www.openssl.org:443
CONNECTED(00000006)
depth=1 C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
verify error:num=20:unable to get local issuer certificate
---
Certificate chain
0 s:/CN=www.openssl.org
i:/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
1 s:/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
i:/O=Digital Signature Trust Co./CN=DST Root CA X3
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIFAjCCA+qgAwIBAgISA6XFka8ITuu3xsfLC9a43mFyMA0GCSqGSIb3DQEBCwUA
MEoxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MSMwIQYDVQQD
ExpMZXQncyBFbmNyeXB0IEF1dGhvcml0eSBYMzAeFw0xNjA4MTIyMDIyMDBaFw0x
NjExMTAyMDIyMDBaMBoxGDAWBgNVBAMTD3d3dy5vcGVuc3NsLm9yZzCCASIwDQYJ
KoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ5V5OmbzKKuA5lDHKdHjaeZwETkk2yq
38zb4HBxS2K86qwTPAg6GVzHAKI4tPO+QKTmvYYcn1V+Wb7HS2nkpm7LyrloThxf
Jk6f1XMZRSymu3KjOI4rqhaEQOCJL1FrYi1OjCWVWrluWO6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EIs
V7A9vq/fMZHU6Mu3yL4DIvPB+NIv2WYTmPPrziN6Ac90MYND21H7WjCdhmER3yZt
uPV9DW/QF+J2B4qG+SGFBhVEyiyPIt9pVFxb4erteD0XY4wYHNaNrvjLiM/y4AgM
ennukGLbDvf1oSuFKDseEDqXSHjFGYE4TxeXC4EKXidTkXfpVSd9JUobu5205erf
0p3mqRxCaNDIlIRL3tCXa+ItlR0RoahsZDJOm9SBCvmClV54joM=
-----END CERTIFICATE-----
subject=/CN=www.openssl.org
issuer=/C=US/O=Let's Encrypt/CN=Let's Encrypt Authority X3
---
No client certificate CA names sent
Peer signing digest: SHA512
Server Temp Key: ECDH, P-256, 256 bits
---
SSL handshake has read 3117 bytes and written 302 bytes
Verification error: unable to get local issuer certificate
---
New, TLSv1.2, Cipher is ECDHE-RSA-AES256-GCM-SHA384
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
Protocol : TLSv1.2
Cipher : ECDHE-RSA-AES256-GCM-SHA384
Session-ID: A59E0BE0F49423A5A87D2486D69613BCC17430CB2CB040A9517E8B9FA1448625
Session-ID-ctx:
Master-Key: 60850FDEE1B64B809B2603C6F5D029FC94DEBAF758F5AAD467092B50B4D6C0AA30E46A581151F79D8A42C4FFBD80EB0C
PSK identity: None
PSK identity hint: None
SRP username: None
TLS session ticket lifetime hint: 7200 (seconds)
TLS session ticket:
0000 - 21 ee ff a6 25 d5 cd 8a-e2 5c 28 00 c9 0e e1 25 !...%....\(....%
0010 - 68 18 e6 12 47 cd b3 d9-95 ae 89 45 2a 2b e5 f8 h...G......E*+..
0020 - 37 a7 e9 cf f9 e1 e9 3c-46 da b9 be 7b 74 92 a5 7......<F...{t..
0030 - 14 41 cc 57 5f e3 c5 ce-78 98 50 f8 f1 6f f0 8e .A.W_...x.P..o..
0040 - 25 cf ce 73 27 f8 7c e2-55 12 cd 6b ae 40 92 99 %..s'.|.U..k. at ..
0050 - aa e0 c9 4d cb 9f 63 8f-93 4a 85 a0 d8 08 6e b2 ...M..c..J....n.
0060 - ff 48 23 58 a4 c9 a4 71-d7 db 6c 16 da 57 7c fc .H#X...q..l..W|.
0070 - 2f 63 41 db f3 1d 73 82-a8 03 9b 33 bb dc 20 b9 /cA...s....3.. .
0080 - 51 b3 ec 92 67 7c 6f a6-09 a3 1f 9e ac 8c 9f 2a Q...g|o........*
0090 - e7 10 e0 2c 76 8f db 45-3c 0e 94 f5 ab a2 6a 2b ...,v..E<.....j+
Start Time: 1474372960
Timeout : 7200 (sec)
Verify return code: 20 (unable to get local issuer certificate)
Extended master secret: no
---
closed
ROBERTSON at srvr1:~/openssl-1_1_0 >
More information about the Info-vax
mailing list