Skip to content

httpsclient key open

Chris Petersen edited this page Oct 16, 2014 · 1 revision

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)
Clone this wiki locally