|
2026-11-13
| ||
| 11:18 | • Closed ticket [777877ffff]: Better https support plus 6 other changes artifact: 955f1589d7 user: serhiy.storchaka | |
|
2022-05-10
| ||
| 19:44 | • Ticket [777877ffff]: 6 changes artifact: b8da8a2e03 user: kjnash | |
|
2009-04-16
| ||
| 05:13 | • Ticket [777877ffff]: 5 changes artifact: 6aaf4d8f56 user: dkf | |
|
2003-11-13
| ||
| 05:52 | • Ticket [777877ffff]: 1 change artifact: e5d680e711 user: dgp | |
|
2003-07-27
| ||
| 21:04 | • Ticket [777877ffff]: 4 changes artifact: e65b8a62b0 user: dkf | |
|
2003-07-26
| ||
| 23:58 | • Ticket [777877ffff]: 5 changes artifact: 53eaa877ca user: hobbs | |
| 00:02 | • New ticket [777877ffff]. artifact: ad95ce19df user: dkf | |
Better https support
Closed / Out of Date777877ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 20 days ago
Descriptionplain2003-07-26 00:02:14
If I use the TLS package to enhance the http package with support for the HTTPS protocol, I can download pages from secure sites just fine. It's great! However, I do not see how to retrieve information about the certificate that the server used for the connection; in a security-sensitive context this sort of thing might well be vital or at least very interesting. So could there please be a way of getting this information from the array that the token (as returned from geturl) refers to?
hobbsplain2003-07-26 23:58:43
Logged In: YES user_id=72656 while better https support would be nice ... I am not the expert on how to do anything about it.
dkfplain2003-07-27 21:04:35
Logged In: YES user_id=79902 All I really want is the information that I can get via tls::status as documented at http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/tls/tls/tls.htm?rev=HEAD&content-type=text/html I can't get it at the moment (with a synchronous http::geturl call) because the FD is gone by the time I see the state array. What I want is for there to be some kind of way that the TLS extension (or any other suitably cooperative package - this should be a plug-in interface of course) could be told to provide this info which could then be stashed in the state array somewhere (perhaps under a transportInfo key as a key-value list?) That would be more than sufficient. Adapting the TLS extension to provide the info then would be a separate (non-Tcl) FRQ. :^)
dgp Ticket [777877ffff]: 1 change
[History diff]2003-11-13 05:52:33
dkfplain2009-04-16 05:13:21
Assigning to Pat as he's been thinking more about http improvements than I have, and I've got too many FRQs
kjnashplain2022-05-10 19:44:19
This facility is provided by the TclTLS package, through the "-command callback" option of ::tls::socket. Providing a suitable callback command is outside the scope of either TclTLS or http, and should be implemented in Tcllib. https://core.tcl-lang.org/tcltls/wiki/Documentation
serhiy.storchakawiki2026-11-13 11:18:45
Closing per kjnash's comment above.
Log in (anonymous is fine) to add a comment.