1 URLs and HTTP
2 URI Codec: Encoding and Decoding URIs
3 FTP: Client Downloading
4 Send URL: Opening a Web Browser
5 SMTP: Sending E-Mail
6 sendmail: Sending E-Mail
7 Headers: Parsing and Constructing
8 IMAP: Reading Mail
9 POP3: Reading Mail
10 MIME: Decoding Internet Data
11 Base 64: Encoding and Decoding
12 Quoted-Printable: Encoding and Decoding
13 DNS: Domain Name Service Queries
14 NNTP: Newsgroup Protocol
15 TCP: Unit and Signature
16 TCP Redirect: tcp^ via Channels
17 SSL Unit: tcp^ via SSL
18 CGI Scripts
19 Cookie: HTTP Client Storage
Bibliography
Index
On this page:
make-ssl-tcp@
Version: 4.0.2

 

17 SSL Unit: tcp^ via SSL

 (require net/ssl-tcp-unit)

The net/ssl-tcp-unit library provides a function for creating a tcp^ implementation with openssl functionality.

(make-ssl-tcp@

 

server-cert-file

 

 

 

 

 

 

server-key-file

 

 

 

 

 

 

server-root-cert-files

 

 

 

 

 

 

server-suggest-auth-file

 

 

 

 

 

 

client-cert-file

 

 

 

 

 

 

client-key-file

 

 

 

 

 

 

client-root-cert-files)

 

 

unit?

  server-cert-file : (or/c path-string? false/c)

  server-key-file : (or/c path-string? false/c)

  server-root-cert-files : (or/c (listof path-string?) false/c)

  server-suggest-auth-file : path-string?

  client-cert-file : (or/c path-string? false/c)

  client-key-file : (or/c path-string? false/c)

  client-root-cert-files : (listof path-string?)

Returns a unit that implements tcp^ using the SSL functions from openssl. The arguments to make-ssl-tcp@ control the certificates and keys uses by server and client connections: