Artifact
4301b275d1037e7d19b34304bfd7c2a85e6fffa121b19b17c33865971d355800:
0000: 54 6f 6f 6c 20 43 6f 6d 6d 61 6e 64 20 4c 61 6e Tool Command Lan
0010: 67 75 61 67 65 20 28 54 43 4c 29 20 54 72 61 6e guage (TCL) Tran
0020: 73 70 6f 72 74 20 4c 61 79 65 72 20 53 65 63 75 sport Layer Secu
0030: 72 69 74 79 20 28 54 4c 53 29 20 45 78 74 65 6e rity (TLS) Exten
0040: 73 69 6f 6e 0a 0a 49 6e 74 72 6f 0a 3d 3d 3d 3d sion..Intro.====
0050: 3d 0a 0a 54 68 69 73 20 70 61 63 6b 61 67 65 20 =..This package
0060: 70 72 6f 76 69 64 65 73 20 61 6e 20 65 78 74 65 provides an exte
0070: 6e 73 69 6f 6e 20 77 68 69 63 68 20 69 6d 70 6c nsion which impl
0080: 65 6d 65 6e 74 73 20 53 65 63 75 72 65 20 53 6f ements Secure So
0090: 63 6b 65 74 20 4c 61 79 65 72 20 28 53 53 4c 29 cket Layer (SSL)
00a0: 0a 61 6e 64 20 54 72 61 6e 73 70 6f 72 74 20 4c .and Transport L
00b0: 61 79 65 72 20 53 65 63 75 72 69 74 79 20 28 54 ayer Security (T
00c0: 4c 53 29 20 65 6e 63 72 79 70 74 69 6f 6e 20 6f LS) encryption o
00d0: 76 65 72 20 54 72 61 6e 73 6d 69 73 73 69 6f 6e ver Transmission
00e0: 20 43 6f 6e 74 72 6f 6c 0a 50 72 6f 74 6f 63 6f Control.Protoco
00f0: 6c 20 28 54 43 50 29 20 6e 65 74 77 6f 72 6b 20 l (TCP) network
0100: 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 20 63 68 communication ch
0110: 61 6e 6e 65 6c 73 20 75 74 69 6c 69 7a 69 6e 67 annels utilizing
0120: 20 74 68 65 20 4f 70 65 6e 53 53 4c 20 6c 69 62 the OpenSSL lib
0130: 72 61 72 79 2e 0a 0a 0a 44 65 73 63 72 69 70 74 rary....Descript
0140: 69 6f 6e 0a 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a ion.===========.
0150: 0a 54 68 69 73 20 65 78 74 65 6e 73 69 6f 6e 20 .This extension
0160: 77 6f 72 6b 73 20 62 79 20 63 72 65 61 74 69 6e works by creatin
0170: 67 20 61 20 6c 61 79 65 72 65 64 20 54 43 4c 20 g a layered TCL
0180: 43 68 61 6e 6e 65 6c 20 6f 6e 20 74 6f 70 20 6f Channel on top o
0190: 66 20 61 6e 20 65 78 69 73 74 69 6e 67 0a 62 69 f an existing.bi
01a0: 2d 64 69 72 65 63 74 69 6f 6e 61 6c 20 63 68 61 -directional cha
01b0: 6e 6e 65 6c 20 63 72 65 61 74 65 64 20 62 79 20 nnel created by
01c0: 74 68 65 20 54 4c 53 20 73 6f 63 6b 65 74 20 63 the TLS socket c
01d0: 6f 6d 6d 61 6e 64 2e 20 41 6c 6c 20 65 78 69 73 ommand. All exis
01e0: 74 69 6e 67 20 73 6f 63 6b 65 74 0a 66 75 6e 63 ting socket.func
01f0: 74 69 6f 6e 61 6c 69 74 79 20 69 73 20 73 75 70 tionality is sup
0200: 70 6f 72 74 65 64 20 69 6e 20 61 64 64 69 74 69 ported in additi
0210: 6f 6e 20 74 6f 20 73 65 76 65 72 61 6c 20 6e 65 on to several ne
0220: 77 20 6f 70 74 69 6f 6e 73 2e 20 42 6f 74 68 20 w options. Both
0230: 63 6c 69 65 6e 74 20 61 6e 64 0a 73 65 72 76 65 client and.serve
0240: 72 20 6d 6f 64 65 73 20 61 72 65 20 73 75 70 70 r modes are supp
0250: 6f 72 74 65 64 2e 0a 0a 0a 46 65 61 74 75 72 65 orted....Feature
0260: 73 0a 3d 3d 3d 3d 3d 3d 3d 3d 0a 0a 54 68 65 20 s.========..The
0270: 70 61 63 6b 61 67 65 20 70 72 6f 76 69 64 65 73 package provides
0280: 3a 0a 2d 20 45 6e 63 72 79 70 74 65 64 20 54 43 :.- Encrypted TC
0290: 50 20 63 6f 6d 6d 75 6e 69 63 61 74 69 6f 6e 73 P communications
02a0: 20 6c 61 79 65 72 65 64 20 6f 6e 20 54 43 4c 20 layered on TCL
02b0: 63 68 61 6e 6e 65 6c 73 2e 0a 2d 20 53 74 61 74 channels..- Stat
02c0: 75 73 20 6f 66 20 65 6e 63 72 79 70 74 65 64 20 us of encrypted
02d0: 63 68 61 6e 6e 65 6c 73 2e 0a 2d 20 56 69 65 77 channels..- View
02e0: 20 58 2e 35 30 39 20 63 65 72 74 69 66 69 63 61 X.509 certifica
02f0: 74 65 20 63 6f 6e 74 65 6e 74 73 2e 0a 0a 0a 44 te contents....D
0300: 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 0a 3d 3d 3d ocumentation.===
0310: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a 0a 53 65 65 20 ==========..See
0320: 74 68 65 20 64 6f 63 20 64 69 72 65 63 74 6f 72 the doc director
0330: 79 20 66 6f 72 20 74 68 65 20 66 75 6c 6c 20 75 y for the full u
0340: 73 61 67 65 20 64 6f 63 75 6d 65 6e 74 61 74 69 sage documentati
0350: 6f 6e 2e 0a 0a 0a 43 6f 6d 70 61 74 69 62 69 6c on....Compatibil
0360: 69 74 79 0a 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d ity.============
0370: 3d 0a 0a 54 43 4c 0a 2d 2d 2d 0a 0a 54 68 69 73 =..TCL.---..This
0380: 20 70 61 63 6b 61 67 65 20 72 65 71 75 69 72 65 package require
0390: 73 20 54 43 4c 20 38 2e 35 20 6f 72 20 6c 61 74 s TCL 8.5 or lat
03a0: 65 72 2e 20 49 74 20 77 69 6c 6c 20 61 6c 73 6f er. It will also
03b0: 20 77 6f 72 6b 20 77 69 74 68 20 54 43 4c 20 39 work with TCL 9
03c0: 2c 20 62 75 74 20 69 74 20 69 73 0a 6e 6f 74 20 , but it is.not
03d0: 62 69 6e 61 72 79 20 63 6f 6d 70 61 74 69 62 6c binary compatibl
03e0: 65 20 62 65 74 77 65 65 6e 20 6d 61 6a 6f 72 20 e between major
03f0: 54 43 4c 20 76 65 72 73 69 6f 6e 73 2e 20 54 68 TCL versions. Th
0400: 69 73 20 6d 65 61 6e 73 20 69 66 20 74 68 69 73 is means if this
0410: 20 65 78 74 65 6e 73 69 6f 6e 0a 69 73 20 62 75 extension.is bu
0420: 69 6c 74 20 77 69 74 68 20 54 43 4c 20 38 2e 78 ilt with TCL 8.x
0430: 20 69 74 20 77 69 6c 6c 20 6e 6f 74 20 6c 6f 61 it will not loa
0440: 64 20 69 6e 74 6f 20 54 43 4c 20 39 20 6f 72 20 d into TCL 9 or
0450: 76 69 63 65 20 76 65 72 73 61 2e 20 49 74 20 69 vice versa. It i
0460: 73 20 62 65 73 74 0a 74 6f 20 63 6f 6d 70 69 6c s best.to compil
0470: 65 20 62 6f 74 68 20 73 65 70 61 72 61 74 65 6c e both separatel
0480: 79 20 74 68 65 6e 20 69 6e 73 74 61 6c 6c 20 74 y then install t
0490: 68 65 6d 20 77 69 74 68 20 74 68 65 20 63 6f 6d hem with the com
04a0: 70 61 74 69 62 6c 65 20 54 43 4c 20 76 65 72 73 patible TCL vers
04b0: 69 6f 6e 73 2e 0a 0a 4f 70 65 6e 53 53 4c 0a 2d ions...OpenSSL.-
04c0: 2d 2d 2d 2d 2d 2d 0a 0a 54 68 69 73 20 70 61 63 ------..This pac
04d0: 6b 61 67 65 20 69 73 20 63 6f 6d 70 61 74 69 62 kage is compatib
04e0: 6c 65 20 77 69 74 68 20 4f 70 65 6e 53 53 4c 20 le with OpenSSL
04f0: 76 31 2e 31 2e 31 20 6f 72 20 6c 61 74 65 72 20 v1.1.1 or later
0500: 69 6e 63 6c 75 64 69 6e 67 20 74 68 65 20 33 2e including the 3.
0510: 78 20 61 6e 64 0a 34 2e 30 20 72 65 6c 65 61 73 x and.4.0 releas
0520: 65 73 2e 20 4f 70 65 6e 53 53 4c 20 33 2e 32 20 es. OpenSSL 3.2
0530: 6f 72 20 6c 61 74 65 72 20 69 73 20 70 72 65 66 or later is pref
0540: 65 72 72 65 64 20 6f 6e 20 57 69 6e 64 6f 77 73 erred on Windows
0550: 2e 0a 53 65 65 20 68 74 74 70 3a 2f 2f 77 77 77 ..See http://www
0560: 2e 6f 70 65 6e 73 73 6c 2e 6f 72 67 2f 2e 20 50 .openssl.org/. P
0570: 6c 65 61 73 65 20 6e 6f 74 65 20 74 68 61 74 20 lease note that
0580: 74 68 65 72 65 20 61 72 65 20 61 20 66 65 77 20 there are a few
0590: 41 50 49 0a 69 6e 63 6f 6d 70 61 74 69 62 69 6c API.incompatibil
05a0: 69 74 69 65 73 20 62 65 74 77 65 65 6e 20 4f 70 ities between Op
05b0: 65 6e 53 53 4c 20 31 2e 31 2e 31 20 61 6e 64 20 enSSL 1.1.1 and
05c0: 33 2e 78 2c 20 73 6f 20 69 66 20 74 68 69 73 20 3.x, so if this
05d0: 65 78 74 65 6e 73 69 6f 6e 20 69 73 20 62 75 69 extension is bui
05e0: 6c 74 0a 61 67 61 69 6e 73 74 20 4f 70 65 6e 53 lt.against OpenS
05f0: 53 4c 20 31 2e 31 2e 31 20 69 74 20 69 73 20 6e SL 1.1.1 it is n
0600: 6f 74 20 62 69 6e 61 72 79 20 63 6f 6d 70 61 74 ot binary compat
0610: 69 62 6c 65 20 77 69 74 68 20 4f 70 65 6e 53 53 ible with OpenSS
0620: 4c 20 33 2e 78 20 6f 72 20 76 69 63 65 0a 76 65 L 3.x or vice.ve
0630: 72 73 61 2e 0a 0a 54 43 4c 54 4c 53 0a 2d 2d 2d rsa...TCLTLS.---
0640: 2d 2d 2d 0a 0a 54 68 65 72 65 20 77 65 72 65 20 ---..There were
0650: 73 65 76 65 72 61 6c 20 63 68 61 6e 67 65 73 20 several changes
0660: 6d 61 64 65 20 69 6e 20 74 68 65 20 63 61 6c 6c made in the call
0670: 62 61 63 6b 20 63 6f 6d 6d 61 6e 64 20 61 72 67 back command arg
0680: 75 6d 65 6e 74 73 20 62 65 74 77 65 65 6e 0a 76 uments between.v
0690: 65 72 73 69 6f 6e 73 20 31 2e 37 20 61 6e 64 20 ersions 1.7 and
06a0: 32 2e 30 2e 20 53 65 65 20 64 6f 63 2f 74 6c 73 2.0. See doc/tls
06b0: 2e 68 74 6d 6c 20 66 6f 72 20 77 68 61 74 20 63 .html for what c
06c0: 68 61 6e 67 65 64 20 61 6e 64 20 6c 69 62 72 61 hanged and libra
06d0: 72 79 2f 74 6c 73 2e 74 63 6c 0a 66 6f 72 20 65 ry/tls.tcl.for e
06e0: 78 61 6d 70 6c 65 20 68 61 6e 64 6c 65 72 20 66 xample handler f
06f0: 75 6e 63 74 69 6f 6e 73 20 74 68 61 74 20 61 72 unctions that ar
0700: 65 20 62 61 63 6b 77 61 72 64 73 20 63 6f 6d 70 e backwards comp
0710: 61 74 69 62 6c 65 2e 0a 0a 0a 49 6e 73 74 61 6c atible....Instal
0720: 6c 61 74 69 6f 6e 0a 3d 3d 3d 3d 3d 3d 3d 3d 3d lation.=========
0730: 3d 3d 3d 0a 0a 54 68 69 73 20 70 61 63 6b 61 67 ===..This packag
0740: 65 20 75 73 65 73 20 74 68 65 20 54 43 4c 20 45 e uses the TCL E
0750: 78 74 65 6e 73 69 6f 6e 20 41 72 63 68 69 74 65 xtension Archite
0760: 63 74 75 72 65 20 28 54 45 41 29 20 74 6f 20 62 cture (TEA) to b
0770: 75 69 6c 64 20 61 6e 64 20 69 6e 73 74 61 6c 6c uild and install
0780: 20 6f 6e 0a 61 6e 79 20 73 75 70 70 6f 72 74 65 on.any supporte
0790: 64 20 55 6e 69 78 2c 20 4d 61 63 2c 20 6f 72 20 d Unix, Mac, or
07a0: 4d 53 20 57 69 6e 64 6f 77 73 20 73 79 73 74 65 MS Windows syste
07b0: 6d 2e 20 49 74 20 64 65 70 65 6e 64 73 20 6f 6e m. It depends on
07c0: 20 74 68 65 20 4f 70 65 6e 53 53 4c 0a 6c 69 62 the OpenSSL.lib
07d0: 72 61 72 69 65 73 20 62 65 69 6e 67 20 61 76 61 raries being ava
07e0: 69 6c 61 62 6c 65 20 70 72 69 6f 72 20 74 6f 20 ilable prior to
07f0: 62 75 69 6c 64 69 6e 67 20 74 68 65 20 54 43 4c building the TCL
0800: 54 4c 53 20 65 78 74 65 6e 73 69 6f 6e 2e 0a 0a TLS extension...
0810: 55 4e 49 58 20 61 6e 64 20 4c 69 6e 75 78 0a 2d UNIX and Linux.-
0820: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 0a 54 -------------..T
0830: 68 65 20 73 74 61 6e 64 61 72 64 20 54 45 41 20 he standard TEA
0840: 63 6f 6e 66 69 67 2c 20 6d 61 6b 65 2c 20 61 6e config, make, an
0850: 64 20 69 6e 73 74 61 6c 6c 20 70 72 6f 63 65 73 d install proces
0860: 73 20 69 73 20 73 75 70 70 6f 72 74 65 64 2e 0a s is supported..
0870: 0a 09 24 20 63 64 20 74 63 6c 74 6c 73 0a 09 24 ..$ cd tcltls..$
0880: 20 2e 2f 63 6f 6e 66 69 67 75 72 65 20 2d 2d 65 ./configure --e
0890: 6e 61 62 6c 65 2d 36 34 62 69 74 0a 09 24 20 6d nable-64bit..$ m
08a0: 61 6b 65 0a 09 24 20 6d 61 6b 65 20 74 65 73 74 ake..$ make test
08b0: 0a 09 24 20 6d 61 6b 65 20 69 6e 73 74 61 6c 6c ..$ make install
08c0: 0a 0a 54 68 65 20 73 75 70 70 6f 72 74 65 64 20 ..The supported
08d0: 63 6f 6e 66 69 67 75 72 65 20 6f 70 74 69 6f 6e configure option
08e0: 73 20 69 6e 63 6c 75 64 65 20 61 6c 6c 20 6f 66 s include all of
08f0: 20 74 68 65 20 73 74 61 6e 64 61 72 64 20 54 45 the standard TE
0900: 41 20 63 6f 6e 66 69 67 75 72 65 0a 73 63 72 69 A configure.scri
0910: 70 74 20 6f 70 74 69 6f 6e 73 2c 20 70 6c 75 73 pt options, plus
0920: 3a 0a 0a 20 20 2d 2d 64 69 73 61 62 6c 65 2d 74 :.. --disable-t
0930: 6c 73 31 20 20 20 20 20 20 20 20 20 20 64 69 73 ls1 dis
0940: 61 62 6c 65 20 54 4c 53 31 20 70 72 6f 74 6f 63 able TLS1 protoc
0950: 6f 6c 0a 20 20 2d 2d 64 69 73 61 62 6c 65 2d 74 ol. --disable-t
0960: 6c 73 31 5f 31 20 20 20 20 20 20 20 20 64 69 73 ls1_1 dis
0970: 61 62 6c 65 20 54 4c 53 31 2e 31 20 70 72 6f 74 able TLS1.1 prot
0980: 6f 63 6f 6c 0a 20 20 2d 2d 64 69 73 61 62 6c 65 ocol. --disable
0990: 2d 74 6c 73 31 5f 32 20 20 20 20 20 20 20 20 64 -tls1_2 d
09a0: 69 73 61 62 6c 65 20 54 4c 53 31 2e 32 20 70 72 isable TLS1.2 pr
09b0: 6f 74 6f 63 6f 6c 0a 20 20 2d 2d 64 69 73 61 62 otocol. --disab
09c0: 6c 65 2d 74 6c 73 31 5f 33 20 20 20 20 20 20 20 le-tls1_3
09d0: 20 64 69 73 61 62 6c 65 20 54 4c 53 31 2e 33 20 disable TLS1.3
09e0: 70 72 6f 74 6f 63 6f 6c 0a 20 20 2d 2d 65 6e 61 protocol. --ena
09f0: 62 6c 65 2d 64 65 62 75 67 20 20 20 20 20 20 20 ble-debug
0a00: 20 20 20 65 6e 61 62 6c 65 20 64 65 62 75 67 67 enable debugg
0a10: 69 6e 67 20 6d 6f 64 65 20 61 6e 64 20 6f 75 74 ing mode and out
0a20: 70 75 74 20 6d 6f 72 65 20 73 74 61 74 75 73 0a put more status.
0a30: 20 20 2d 2d 65 6e 61 62 6c 65 2d 73 73 6c 2d 66 --enable-ssl-f
0a40: 61 73 74 70 61 74 68 20 20 20 65 6e 61 62 6c 65 astpath enable
0a50: 20 75 73 69 6e 67 20 74 68 65 20 75 6e 64 65 72 using the under
0a60: 6c 79 69 6e 67 20 66 69 6c 65 20 64 65 73 63 72 lying file descr
0a70: 69 70 74 6f 72 20 66 6f 72 20 74 61 6c 6b 69 6e iptor for talkin
0a80: 67 20 64 69 72 65 63 74 6c 79 20 74 6f 20 74 68 g directly to th
0a90: 65 20 53 53 4c 20 6c 69 62 72 61 72 79 0a 20 20 e SSL library.
0aa0: 2d 2d 65 6e 61 62 6c 65 2d 68 61 72 64 65 6e 69 --enable-hardeni
0ab0: 6e 67 20 20 20 20 20 20 65 6e 61 62 6c 65 20 68 ng enable h
0ac0: 61 72 64 65 6e 69 6e 67 20 61 74 74 65 6d 70 74 ardening attempt
0ad0: 73 0a 20 20 2d 2d 65 6e 61 62 6c 65 2d 73 74 61 s. --enable-sta
0ae0: 74 69 63 2d 73 73 6c 20 20 20 20 20 65 6e 61 62 tic-ssl enab
0af0: 6c 65 20 73 74 61 74 69 63 20 6c 69 6e 6b 69 6e le static linkin
0b00: 67 20 74 6f 20 74 68 65 20 53 53 4c 20 6c 69 62 g to the SSL lib
0b10: 72 61 72 79 0a 0a 49 66 20 65 69 74 68 65 72 20 rary..If either
0b20: 54 43 4c 20 6f 72 20 4f 70 65 6e 53 53 4c 20 61 TCL or OpenSSL a
0b30: 72 65 20 69 6e 73 74 61 6c 6c 65 64 20 69 6e 20 re installed in
0b40: 6e 6f 6e 2d 73 74 61 6e 64 61 72 64 20 6c 6f 63 non-standard loc
0b50: 61 74 69 6f 6e 73 2c 20 74 68 65 20 66 6f 6c 6c ations, the foll
0b60: 6f 77 69 6e 67 0a 63 6f 6e 66 69 67 75 72 65 20 owing.configure
0b70: 6f 70 74 69 6f 6e 73 20 61 72 65 20 61 76 61 69 options are avai
0b80: 6c 61 62 6c 65 2e 20 46 6f 72 20 61 6c 6c 20 6f lable. For all o
0b90: 70 74 69 6f 6e 73 2c 20 73 65 65 20 2e 2f 63 6f ptions, see ./co
0ba0: 6e 66 69 67 75 72 65 20 2d 2d 68 65 6c 70 2e 0a nfigure --help..
0bb0: 0a 20 20 2d 2d 77 69 74 68 2d 74 63 6c 3d 3c 64 . --with-tcl=<d
0bc0: 69 72 3e 09 09 09 70 61 74 68 20 74 6f 20 77 68 ir>...path to wh
0bd0: 65 72 65 20 74 63 6c 43 6f 6e 64 69 67 2e 73 68 ere tclCondig.sh
0be0: 20 66 69 6c 65 20 72 65 73 69 64 65 73 0a 20 20 file resides.
0bf0: 2d 2d 77 69 74 68 2d 74 63 6c 69 6e 63 6c 75 64 --with-tclinclud
0c00: 65 3d 3c 64 69 72 3e 09 09 64 69 72 65 63 74 6f e=<dir>..directo
0c10: 72 79 20 63 6f 6e 74 61 69 6e 69 6e 67 20 74 68 ry containing th
0c20: 65 20 70 75 62 6c 69 63 20 54 63 6c 20 68 65 61 e public Tcl hea
0c30: 64 65 72 20 66 69 6c 65 73 0a 20 20 2d 2d 77 69 der files. --wi
0c40: 74 68 2d 6f 70 65 6e 73 73 6c 2d 64 69 72 3d 3c th-openssl-dir=<
0c50: 64 69 72 3e 09 09 70 61 74 68 20 74 6f 20 72 6f dir>..path to ro
0c60: 6f 74 20 64 69 72 65 63 74 6f 72 79 20 6f 66 20 ot directory of
0c70: 4f 70 65 6e 53 53 4c 20 69 6e 73 74 61 6c 6c 61 OpenSSL installa
0c80: 74 69 6f 6e 0a 20 20 2d 2d 77 69 74 68 2d 6f 70 tion. --with-op
0c90: 65 6e 73 73 6c 2d 69 6e 63 6c 75 64 65 64 69 72 enssl-includedir
0ca0: 3d 3c 64 69 72 3e 09 70 61 74 68 20 74 6f 20 69 =<dir>.path to i
0cb0: 6e 63 6c 75 64 65 20 64 69 72 65 63 74 6f 72 79 nclude directory
0cc0: 20 6f 66 20 4f 70 65 6e 53 53 4c 20 69 6e 73 74 of OpenSSL inst
0cd0: 61 6c 6c 61 74 69 6f 6e 0a 20 20 2d 2d 77 69 74 allation. --wit
0ce0: 68 2d 6f 70 65 6e 73 73 6c 2d 6c 69 62 64 69 72 h-openssl-libdir
0cf0: 3d 3c 64 69 72 3e 09 09 70 61 74 68 20 74 6f 20 =<dir>..path to
0d00: 6c 69 62 20 64 69 72 65 63 74 6f 72 79 20 6f 66 lib directory of
0d10: 20 4f 70 65 6e 53 53 4c 20 69 6e 73 74 61 6c 6c OpenSSL install
0d20: 61 74 69 6f 6e 0a 20 20 2d 2d 77 69 74 68 2d 6f ation. --with-o
0d30: 70 65 6e 73 73 6c 2d 70 6b 67 63 6f 6e 66 69 67 penssl-pkgconfig
0d40: 3d 3c 64 69 72 3e 09 70 61 74 68 20 74 6f 20 72 =<dir>.path to r
0d50: 6f 6f 74 20 64 69 72 65 63 74 6f 72 79 20 6f 66 oot directory of
0d60: 20 4f 70 65 6e 53 53 4c 20 70 6b 67 2d 63 6f 6e OpenSSL pkg-con
0d70: 66 69 67 20 64 69 72 65 63 74 6f 72 79 0a 0a 0a fig directory...
0d80: 4d 61 63 4f 53 0a 2d 2d 2d 2d 2d 0a 0a 54 68 65 MacOS.-----..The
0d90: 20 73 74 61 6e 64 61 72 64 20 54 45 41 20 69 6e standard TEA in
0da0: 73 74 61 6c 6c 61 74 69 6f 6e 20 70 72 6f 63 65 stallation proce
0db0: 73 73 20 69 73 20 73 75 70 70 6f 72 74 65 64 2e ss is supported.
0dc0: 20 55 73 65 20 74 68 65 20 2d 2d 77 69 74 68 2d Use the --with-
0dd0: 74 63 6c 20 6f 70 74 69 6f 6e 0a 74 6f 20 73 65 tcl option.to se
0de0: 74 20 74 68 65 20 54 43 4c 20 70 61 74 68 20 69 t the TCL path i
0df0: 66 20 74 68 65 20 41 63 74 69 76 65 53 74 61 74 f the ActiveStat
0e00: 65 20 6f 72 20 6f 74 68 65 72 20 6e 6f 6e 2d 41 e or other non-A
0e10: 70 70 6c 65 20 76 65 72 73 69 6f 6e 20 6f 66 20 pple version of
0e20: 54 43 4c 20 69 73 20 74 6f 0a 62 65 20 75 73 65 TCL is to.be use
0e30: 64 2e 0a 0a 09 24 20 63 64 20 74 63 6c 74 6c 73 d....$ cd tcltls
0e40: 0a 09 24 20 2e 2f 63 6f 6e 66 69 67 75 72 65 20 ..$ ./configure
0e50: 2d 2d 77 69 74 68 2d 74 63 6c 3d 2f 4c 69 62 72 --with-tcl=/Libr
0e60: 61 72 79 2f 46 72 61 6d 65 77 6f 72 6b 73 2f 54 ary/Frameworks/T
0e70: 63 6c 2e 66 72 61 6d 65 77 6f 72 6b 2f 0a 09 24 cl.framework/..$
0e80: 20 6d 61 6b 65 0a 09 24 20 6d 61 6b 65 20 74 65 make..$ make te
0e90: 73 74 0a 09 24 20 6d 61 6b 65 20 69 6e 73 74 61 st..$ make insta
0ea0: 6c 6c 0a 0a 0a 57 69 6e 64 6f 77 73 0a 2d 2d 2d ll...Windows.---
0eb0: 2d 2d 2d 2d 0a 0a 49 66 20 69 6e 73 74 61 6c 6c ----..If install
0ec0: 69 6e 67 20 77 69 74 68 20 4d 69 6e 47 57 2c 20 ing with MinGW,
0ed0: 75 73 65 20 74 68 65 20 54 45 41 20 62 75 69 6c use the TEA buil
0ee0: 64 20 70 72 6f 63 65 73 73 2e 20 49 66 20 75 73 d process. If us
0ef0: 69 6e 67 20 4d 53 20 56 69 73 75 61 6c 20 43 0a ing MS Visual C.
0f00: 28 4d 53 56 43 29 2c 20 73 65 65 20 77 69 6e 2f (MSVC), see win/
0f10: 52 45 41 44 4d 45 2e 74 78 74 20 66 6f 72 20 74 README.txt for t
0f20: 68 65 20 62 75 69 6c 64 20 61 6e 64 20 69 6e 73 he build and ins
0f30: 74 61 6c 6c 61 74 69 6f 6e 20 69 6e 73 74 72 75 tallation instru
0f40: 63 74 69 6f 6e 73 2e 0a 0a 0a 43 65 72 74 69 66 ctions....Certif
0f50: 69 63 61 74 65 20 56 61 6c 69 64 61 74 69 6f 6e icate Validation
0f60: 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d .---------------
0f70: 2d 2d 2d 2d 2d 2d 2d 0a 0a 49 66 20 4f 70 65 6e -------..If Open
0f80: 53 53 4c 20 69 73 20 6e 6f 74 20 69 6e 73 74 61 SSL is not insta
0f90: 6c 6c 65 64 20 6f 6e 20 74 68 65 20 73 79 73 74 lled on the syst
0fa0: 65 6d 2c 20 74 68 65 20 43 65 72 74 69 66 69 63 em, the Certific
0fb0: 61 74 65 20 41 75 74 68 6f 72 69 74 79 20 28 43 ate Authority (C
0fc0: 41 29 0a 70 72 6f 76 69 64 65 64 20 63 65 72 74 A).provided cert
0fd0: 69 66 69 63 61 74 65 73 20 6d 75 73 74 20 62 65 ificates must be
0fe0: 20 64 6f 77 6e 6c 6f 61 64 65 64 20 61 6e 64 20 downloaded and
0ff0: 69 6e 73 74 61 6c 6c 65 64 20 77 69 74 68 20 74 installed with t
1000: 68 65 20 73 6f 66 74 77 61 72 65 2e 0a 54 68 65 he software..The
1010: 73 65 20 61 72 65 20 75 73 65 64 20 66 6f 72 20 se are used for
1020: 63 65 72 74 69 66 69 63 61 74 65 20 76 61 6c 69 certificate vali
1030: 64 61 74 69 6f 6e 2e 20 54 68 65 20 43 55 52 4c dation. The CURL
1040: 20 74 65 61 6d 20 6d 61 6b 65 73 20 74 68 65 6d team makes them
1050: 20 61 76 61 69 6c 61 62 6c 65 0a 61 74 20 68 74 available.at ht
1060: 74 70 73 3a 2f 2f 63 75 72 6c 2e 73 65 2f 64 6f tps://curl.se/do
1070: 63 73 2f 63 61 65 78 74 72 61 63 74 2e 68 74 6d cs/caextract.htm
1080: 6c 2e 20 4c 6f 6f 6b 20 66 6f 72 20 74 68 65 20 l. Look for the
1090: 63 61 63 65 72 74 2e 70 65 6d 20 66 69 6c 65 2e cacert.pem file.
10a0: 0a 0a 0a 43 6f 70 79 72 69 67 68 74 73 0a 3d 3d ...Copyrights.==
10b0: 3d 3d 3d 3d 3d 3d 3d 3d 0a 0a 4f 72 69 67 69 6e ========..Origin
10c0: 61 6c 20 54 4c 53 20 43 6f 70 79 72 69 67 68 74 al TLS Copyright
10d0: 20 28 43 29 20 31 39 39 37 2d 32 30 30 30 20 4d (C) 1997-2000 M
10e0: 61 74 74 20 4e 65 77 6d 61 6e 20 3c 6d 61 74 74 att Newman <matt
10f0: 40 6e 6f 76 61 64 69 67 6d 2e 63 6f 6d 3e 0a 54 @novadigm.com>.T
1100: 4c 53 20 31 2e 34 2e 31 20 20 20 20 43 6f 70 79 LS 1.4.1 Copy
1110: 72 69 67 68 74 20 28 43 29 20 32 30 30 30 20 41 right (C) 2000 A
1120: 6a 75 62 61 20 53 6f 6c 75 74 69 6f 6e 73 0a 54 juba Solutions.T
1130: 4c 53 20 31 2e 36 20 20 20 20 20 20 43 6f 70 79 LS 1.6 Copy
1140: 72 69 67 68 74 20 28 43 29 20 32 30 30 38 20 41 right (C) 2008 A
1150: 63 74 69 76 65 53 74 61 74 65 20 53 6f 66 74 77 ctiveState Softw
1160: 61 72 65 20 49 6e 63 2e 0a 54 4c 53 20 31 2e 37 are Inc..TLS 1.7
1170: 20 20 20 20 20 20 43 6f 70 79 72 69 67 68 74 20 Copyright
1180: 28 43 29 20 32 30 31 36 20 4d 61 74 74 20 4e 65 (C) 2016 Matt Ne
1190: 77 6d 61 6e 2c 20 41 6a 75 62 61 20 53 6f 6c 75 wman, Ajuba Solu
11a0: 74 69 6f 6e 73 2c 20 41 63 74 69 76 65 53 74 61 tions, ActiveSta
11b0: 74 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 te.
11c0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
11d0: 20 20 20 53 6f 66 74 77 61 72 65 20 49 6e 63 2c Software Inc,
11e0: 20 52 6f 79 20 4b 65 65 6e 65 20 3c 74 63 6c 74 Roy Keene <tclt
11f0: 6c 73 40 72 6b 65 65 6e 65 2e 6f 72 67 3e 0a 54 [email protected]>.T
1200: 4c 53 20 31 2e 38 2d 32 2e 30 20 20 43 6f 70 79 LS 1.8-2.0 Copy
1210: 72 69 67 68 74 20 28 43 29 20 32 30 32 33 2d 32 right (C) 2023-2
1220: 30 32 36 20 42 72 69 61 6e 20 4f 27 48 61 67 61 026 Brian O'Haga
1230: 6e 0a 0a 41 63 6b 6e 6f 77 6c 65 64 67 6d 65 6e n..Acknowledgmen
1240: 74 73 0a 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d ts.=============
1250: 3d 3d 0a 0a 4e 6f 6e 2d 65 78 63 6c 75 73 69 76 ==..Non-exclusiv
1260: 65 20 63 72 65 64 69 74 73 20 66 6f 72 20 54 4c e credits for TL
1270: 53 20 61 72 65 3a 0a 20 20 20 4f 72 69 67 69 6e S are:. Origin
1280: 61 6c 20 77 6f 72 6b 3a 20 4d 61 74 74 20 4e 65 al work: Matt Ne
1290: 77 6d 61 6e 20 40 20 4e 6f 76 61 64 69 67 6d 0a wman @ Novadigm.
12a0: 20 20 20 55 70 64 61 74 65 73 3a 20 4a 65 66 66 Updates: Jeff
12b0: 20 48 6f 62 62 73 20 40 20 41 63 74 69 76 65 53 Hobbs @ ActiveS
12c0: 74 61 74 65 0a 20 20 20 54 63 6c 20 43 68 61 6e tate. Tcl Chan
12d0: 6e 65 6c 20 6d 65 63 68 61 6e 69 73 6d 3a 20 41 nel mechanism: A
12e0: 6e 64 72 65 61 73 20 4b 75 70 72 69 65 73 0a 20 ndreas Kupries.
12f0: 20 20 49 6d 70 65 74 75 73 2f 52 65 6c 61 74 65 Impetus/Relate
1300: 64 20 77 6f 72 6b 3a 20 74 63 6c 53 53 4c 20 28 d work: tclSSL (
1310: 43 6f 6c 69 6e 20 4d 63 43 6f 72 6d 61 63 6b 2c Colin McCormack,
1320: 20 53 68 61 72 65 64 20 54 65 63 68 6e 6f 6c 6f Shared Technolo
1330: 67 79 29 0a 20 20 20 20 20 20 20 20 20 20 20 20 gy).
1340: 20 20 20 20 20 20 20 20 20 20 20 20 20 53 53 4c SSL
1350: 74 63 6c 20 28 50 65 74 65 72 20 41 6e 74 6d 61 tcl (Peter Antma
1360: 6e 29 0a 0a 4c 69 63 65 6e 73 65 0a 3d 3d 3d 3d n)..License.====
1370: 3d 3d 3d 0a 0a 54 68 69 73 20 63 6f 64 65 20 69 ===..This code i
1380: 73 20 6c 69 63 65 6e 73 65 64 20 75 6e 64 65 72 s licensed under
1390: 20 74 68 65 20 73 61 6d 65 20 74 65 72 6d 73 20 the same terms
13a0: 61 73 20 74 68 65 20 54 63 6c 20 43 6f 72 65 2e as the Tcl Core.
13b0: 0a .