[squid-users] ssl cert wiki

Yuri Voinov yvoinov at gmail.com
Mon Jan 12 10:55:03 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
You need to specify -CAPath with trusted root CA's from openssl
installation to avoid error 20. :)

But looks like openssl connect works.

12.01.2015 16:50, HackXBack пишет:
> openssl s_client -connect facebook.com:443
> CONNECTED(00000003)
> depth=1 C = US, O = DigiCert Inc, OU = www.digicert.com, CN = DigiCert
High
> Assurance CA-3
> verify error:num=20:unable to get local issuer certificate
> verify return:0
> ---
> Certificate chain
>  0 s:/C=US/ST=CA/L=Menlo Park/O=Facebook, Inc./CN=*.facebook.com
>    i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance
> CA-3
>  1 s:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance
> CA-3
>    i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High
Assurance EV
> Root CA
> ---
> Server certificate
> -----BEGIN CERTIFICATE-----
> MIIFOzCCBCOgAwIBAgIQAXFSvMdg7cYV3Y5PV8hsDzANBgkqhkiG9w0BAQUFADBm
> MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
> d3cuZGlnaWNlcnQuY29tMSUwIwYDVQQDExxEaWdpQ2VydCBIaWdoIEFzc3VyYW5j
> ZSBDQS0zMB4XDTE0MDgyODAwMDAwMFoXDTE1MTAyODEyMDAwMFowYTELMAkGA1UE
> BhMCVVMxCzAJBgNVBAgTAkNBMRMwEQYDVQQHEwpNZW5sbyBQYXJrMRcwFQYDVQQK
> Ew5GYWNlYm9vaywgSW5jLjEXMBUGA1UEAwwOKi5mYWNlYm9vay5jb20wWTATBgcq
> hkjOPQIBBggqhkjOPQMBBwNCAATY0d01veJZtvubH1QVjNu/Tli9R764EPwi6dKe
> mPhJKiX7lEbkQpmEUBxfAf0UJTFcTtlk/cUMs0bSobxwtIeOo4ICszCCAq8wH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
> WBEkO0qefB5vuHir2Iwdi3ojSg9FUHNNTKb2nOCv9tIvtSz0ME2J2mGnIQhYjV6i
> TnyRl2XAxGHej1uxpFhlHVwom7Bh/jliZGxqsB8s5NDMPByuYFO9lzT9THFvkhab
> fCYW/jVGQ7GYVR0xbAXERppKvYAHtuCpoBx26tx/ecO9cG36dGzqSjUefAHqmJML
> eSM0nWdjg8K5LolKyUKrrtBRYUIq9DGkROr9LAftTCKs8RZ40Ge3iV/0POlr6FI=
> -----END CERTIFICATE-----
> subject=/C=US/ST=CA/L=Menlo Park/O=Facebook, Inc./CN=*.facebook.com
> issuer=/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance
> CA-3
> ---
> No client certificate CA names sent
> ---
> SSL handshake has read 3459 bytes and written 434 bytes
> ---
> New, TLSv1/SSLv3, Cipher is ECDHE-ECDSA-AES128-GCM-SHA256
> Server public key is 256 bit
> Secure Renegotiation IS supported
> Compression: NONE
> Expansion: NONE
> SSL-Session:
>     Protocol  : TLSv1.2
>     Cipher    : ECDHE-ECDSA-AES128-GCM-SHA256
>     Session-ID:
> 3629803712A85282C5F5F7CB236A68B6AD8C7106A03742AFD89B8D3546ED0254
>     Session-ID-ctx:
>     Master-Key:
>
50F406618339C5DDD75160F035E874306ADD1A0B786A7B1371467F0EC6259FA78D2678B31083A4EAFC286DB0B6565FBB
>     Key-Arg   : None
>     PSK identity: None
>     PSK identity hint: None
>     SRP username: None
>     TLS session ticket lifetime hint: 86000 (seconds)
>     TLS session ticket:
>     0000 - 70 3b 0a 20 e0 1b 8a 09-6c 07 4c 69 a4 9d af 51   p;.
> ....l.Li...Q
>     0010 - 74 d0 0e a9 c2 9d c2 08-17 0c 78 bb 5d ea d8 1a 
> t.........x.]...
>     0020 - 25 de 4e d1 b8 d1 cd b4-20 7a 8a dc 4a 4c dc e2   %.N.....
> z..JL..
>     0030 - f6 94 f3 41 4b c3 9e 57-19 30 72 38 2e ea d3 58 
> ...AK..W.0r8...X
>     0040 - 16 c7 de 39 a8 f9 11 80-62 60 87 0d 08 b7 2d 56 
> ...9....b`....-V
>     0050 - 2d 9b 0b ac f7 81 8a 22-bb 42 8b 53 71 d4 26 7a 
> -......".B.Sq.&z
>     0060 - 8d ef ea 6c de bc d6 2c-15 cc ff 69 3c 34 16 41 
> ...l...,...i<4.A
>     0070 - 3c 2e f7 84 4f b8 a5 7b-35 80 e3 df ee 74 d7 58 
> <...O..{5....t.X
>     0080 - 38 d3 59 aa 84 03 4c ff-f0 22 ff 04 05 b3 3b a3 
> 8.Y...L.."....;.
>     0090 - 7e f9 ae 9f 07 0b dd 0e-86 71 c7 35 44 6f 3e 80 
> ~........q.5Do>.
>     00a0 - bf 43 2c 4f f1 42 dc 09-a8 34 35 9c 1e be 35 a2 
> .C,O.B...45...5.
>
>     Start Time: 1421085027
>     Timeout   : 300 (sec)
>     Verify return code: 20 (unable to get local issuer certificate)
> ---
>
>
>
>
>
> --
> View this message in context:
http://squid-web-proxy-cache.1019090.n4.nabble.com/ssl-cert-wiki-tp4669016p4669023.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
 
iQEcBAEBAgAGBQJUs6gHAAoJENNXIZxhPexGCuMH/irKA7ONKqoZxggAiQERyct+
XtCqaaHkrPMmbq/tCFereYElVXhKwAoZmjaI/lvBOxHE7P4cQqbiOTJoRzyKoD4Q
ek/9vRN/SMbjGSdQNGy73aJDH8vKZg3vcXviO/bvfjbVO3/b7x6eqZdphJvfjCOG
XoEmaWNRP/xe+335Db31ww1mbKOiJChaaJF/Wl460zPPTN+b8yGOyu95rm7Xc6LY
KJELRJ4S/hNEta9o/i8v9sLSSlvAqlgWJgBGW6vNCQ+4pZ3nBhiR5T5dqqekONRy
pJemiS/KRRONrMDPeZiwkinj/EQbO53Hu5lyQ2ANdYcMPNCT3N/z2LVerxCIQj4=
=SC7Z
-----END PGP SIGNATURE-----

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150112/f103561f/attachment.html>


More information about the squid-users mailing list