httpsclient key open - part-cw/lambdanative GitHub Wiki
(httpsclient-key-open host certchain key password . port)
httpsclient-key-open establish a connection to an https server using a private key/certificate for authentication.
| Parameter | Description |
|---|---|
| host | Hostname of the https server |
| certchain | The filename of the OpenSSL PEM certificate file |
| key | The filename of the OpenSSL PEM private key file |
| password | The password to unlock the private key file. Can be blank if not required |
| port | Optional: Port number to use for the connection. Default: 443 |
Example
Example 1: Make a connection to the Apple pushnotification testing server
(httpsclient-key-open "gateway.sandbox.push.apple.com" "./MyCert.pem" "./MyKey.pem" "SECRET" 2195)