ubuntu:ssl:request_a_specific_uri_from_an_http_server
Ubuntu - SSL - Request a specific URI from an HTTP server
openssl s_client -connect www.sharewiz.net:443
returns:
CONNECTED(00000003) depth=2 O = Digital Signature Trust Co., CN = DST Root CA X3 verify return:1 depth=1 C = US, O = Let's Encrypt, CN = R3 verify return:1 depth=0 CN = sharewiz.net verify return:1 --- Certificate chain 0 s:CN = sharewiz.net i:C = US, O = Let's Encrypt, CN = R3 1 s:C = US, O = Let's Encrypt, CN = R3 i:O = Digital Signature Trust Co., CN = DST Root CA X3 --- Server certificate -----BEGIN CERTIFICATE----- MIIFQjCCBCqgAwIBAgISBK5HYGYiL7GrmlHgdmaUq0fvMA0GCSqGSIb3DQEBCwUA MDIxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MQswCQYDVQQD EwJSMzAeFw0yMDEyMjcwODM3NDNaFw0yMTAzMjcwODM3NDNaMBcxFTATBgNVBAMT DHNoYXJld2l6Lm5ldDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOgc s7ZK8AKOpggELzXHwm1ZTAOY38BzsJznHExpr4yKC14m83uAVV7EBPz1t06zB68n gKL2hKjioVEyp/gBliMRv2CAjgRgNxcUuBCZAVU3EO1wWpVL1ZS2eWo/e+sOPYZp ggHJIr4bgaOXxUbg+TSdWlDhzckAjW9ULA2M+9or4cAWemqFWqS7WAdz06D2/lI+ 0VqfHlvZXSBhdXHEAKr6Y/GQUKnRwlcta3C7G8Ulitv9RmM+dJesXdsTckTzueSS ETyqRN92G3XChXV+BNSxFLbErZ9BsTd8KF2BKKIJQOKtnz6yurO7jR5jTnQusdRm Yg+3kASohxggb7EaVY0CAwEAAaOCAmswggJnMA4GA1UdDwEB/wQEAwIFoDAdBgNV HSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDAYDVR0TAQH/BAIwADAdBgNVHQ4E FgQUwJ5tzh7CDZKjmZjdp3YCwe2rHLgwHwYDVR0jBBgwFoAUF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----- subject=CN = sharewiz.net issuer=C = US, O = Let's Encrypt, CN = R3 --- No client certificate CA names sent Peer signing digest: SHA256 Peer signature type: RSA-PSS Server Temp Key: X25519, 253 bits --- SSL handshake has read 3159 bytes and written 401 bytes Verification: OK --- 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: 5DF1AF6B375CDF0807D973F040E4F82D466E942C48F63DF690606F7FCACB057C Session-ID-ctx: Master-Key: 7EADE3492BE69A4B83BAA1C2766437E5A8743F6F53C816DE43154076A0236115B0F4C97AD6192FF9131F33155CC48035 PSK identity: None PSK identity hint: None SRP username: None TLS session ticket lifetime hint: 300 (seconds) TLS session ticket: 0000 - e0 c2 f7 7c 51 85 23 5f-16 1c 38 cd 46 6e 2e 1c ...|Q.#_..8.Fn.. 0010 - 8e 6f 69 c9 f2 eb 94 b9-c4 ca 56 6d 1a 21 76 3d .oi.......Vm.!v= 0020 - 42 0a 2d f8 37 63 11 0f-ad 0d 08 0b d5 0b a5 5b B.-.7c.........[ 0030 - 84 0d ad 85 55 cb 3d 59-34 b2 a0 23 38 b1 ce da ....U.=Y4..#8... 0040 - 10 5d 3e 48 b0 41 6d 3f-db 3f ae 4c 35 4e 1b a9 .]>H.Am?.?.L5N.. 0050 - 4a 1a a4 98 2a 3d b3 cf-64 28 75 80 6c 6c c6 71 J...*=..d(u.ll.q 0060 - 72 8f 02 aa ab 3a 24 eb-3a 71 13 e6 15 a6 2e 32 r....:$.:q.....2 0070 - 95 02 c3 6a 48 b6 22 13-d1 67 bc 9e 1a f3 25 77 ...jH."..g....%w 0080 - 19 43 64 c5 83 f1 74 d4-49 d8 db 95 09 04 f3 f0 .Cd...t.I....... 0090 - bc b0 df 46 3a 86 1f 9b-6e c8 8b fc 1a 60 c9 b8 ...F:...n....`.. 00a0 - 6e 17 b8 a5 e8 6f e3 a8-56 48 89 c0 bf f5 36 86 n....o..VH....6. 00b0 - b8 94 9e 77 fe 27 b0 07-9d 61 3f f0 a4 c2 52 81 ...w.'...a?...R. 00c0 - 4b 13 72 a0 f0 d9 8a 87-c0 3b 67 84 01 a4 b4 74 K.r......;g....t Start Time: 1612267423 Timeout : 7200 (sec) Verify return code: 0 (ok) Extended master secret: yes
ubuntu/ssl/request_a_specific_uri_from_an_http_server.txt · Last modified: 2021/02/02 12:06 by peter