Check-in [60e0733e5a]
Bounty program for improvements to Tcl and certain Tcl packages.
Overview
Comment:Add documentation for -key and -cert
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | mjanssen-asn1-certs
Files: files | file ages | folders
SHA3-256: 60e0733e5a5e56c3e76ed99304618d16e53a985b9fee68400241a67a5ff21855
User & Date: rkeene on 2020-05-04 14:54:54
Other Links: branch diff | manifest | tags
Context
2020-05-04
14:57
Corrected wrong use of "key" check-in: f3a497fc67 user: rkeene tags: mjanssen-asn1-certs
14:54
Add documentation for -key and -cert check-in: 60e0733e5a user: rkeene tags: mjanssen-asn1-certs
2019-06-17
18:08
Align code with option names check-in: 4945b7588e user: mjanssen tags: mjanssen-asn1-certs
Changes

Modified tls.htm from [60845f0ae5] to [ef8070e9b1].

   163    163   <blockquote>
   164    164       <dl>
   165    165           <dt><strong>-cadir</strong> <em>dir</em></dt>
   166    166           <dd>Provide the directory containing the CA certificates.</dd>
   167    167           <dt><strong>-cafile </strong><em>filename</em></dt>
   168    168           <dd>Provide the CA file.</dd>
   169    169           <dt><strong>-certfile</strong> <em>filename</em></dt>
   170         -        <dd>Provide the certificate to use.</dd>
          170  +        <dd>Provide the name of a file containing certificate to use.</dd>
          171  +        <dt><strong>-cert</strong> <em>filename</em></dt>
          172  +        <dd>Provide the contents of a certificate to use, as a DER encoded binary value (X.509 DER).</dd>
   171    173           <dt><strong>-cipher </strong><em>string</em></dt>
   172    174           <dd>Provide the cipher suites to use. Syntax is as per
   173    175               OpenSSL.</dd>
   174    176           <dt><strong>-command</strong> <em>callback</em></dt>
   175    177           <dd>If specified, this callback will be invoked at several points
   176    178               during the OpenSSL handshake.  It can pass errors and tracing
   177    179               information, and it can allow Tcl scripts to perform
................................................................................
   181    183               See <a href="#CALLBACK OPTIONS">CALLBACK OPTIONS</a> for
   182    184               further discussion.</dd>
   183    185           <dt><strong>-dhparams </strong><em>filename</em></dt>
   184    186           <dd>Provide a Diffie-Hellman parameters file.</dd>
   185    187           <dt><strong>-keyfile</strong> <em>filename</em></dt>
   186    188           <dd>Provide the private key file. (<strong>default</strong>:
   187    189               value of -certfile)</dd>
          190  +        <dt><strong>-key</strong> <em>filename</em></dt>
          191  +        <dd>Provide the private key to use as a DER encoded value (PKCS#1 DER)</dd>
   188    192           <dt><strong>-model</strong> <em>channel</em></dt>
   189    193           <dd>This will force this channel to share the same <em><strong>SSL_CTX</strong></em>
   190    194               structure as the specified <em>channel</em>, and
   191    195               therefore share callbacks etc.</dd>
   192    196           <dt><strong>-password</strong> <em>callback</em></dt>
   193    197           <dd>If supplied, this callback will be invoked when OpenSSL needs
   194    198               to obtain a password, typically to unlock the private key of