1 .TH PT-TLS-CLIENT 1 "2017-07-15" "@PACKAGE_VERSION@" "strongSwan"
5 pt-tls-client \- Simple client using PT-TLS to collect integrity information
11 .IR hostname |\fIaddress
20 .OP \-\-client client-id
21 .OP \-\-secret password
23 .OP \-\-optionsfrom filename
37 is a simple client using the PT-TLS (RFC 6876) transport protocol to collect
38 integrity measurements on the client platform. PT-TLS does an initial TLS
39 handshake with certificate-based server authentication and optional
40 certificate-based client authentication. Alternatively simple password-based
41 SASL client authentication protected by TLS can be used.
43 Attribute requests and integrity measurements are exchanged via the PA-TNC (RFC
44 5792) message protocol between any number of Integrity Measurement Verifiers
45 (IMVs) residing on the remote PT-TLS server and multiple Integrity Measurement
46 Collectors (IMCs) loaded dynamically by the PT-TLS client according to a list
47 defined by \fI/etc/tnc_config\fR. PA-TNC messages that contain one or several
48 PA-TNC attributes are multiplexed into PB-TNC (RFC 5793) client or server data
49 batches which in turn are transported via PT-TLS.
55 Prints usage information and a short summary of the available commands.
57 .BI "\-c, \-\-connect " hostname\fR|\fIaddress
58 Set the hostname or IP address of the PT-TLS server.
60 .BI "\-p, \-\-port " port
61 Set the port of the PT-TLS server, default: 271.
63 .BI "\-x, \-\-cert " file
64 Set the path to an X.509 certificate file. This option can be repeated to load
65 multiple client and CA certificates.
67 .BI "\-k, \-\-key " file
68 Set the path to the client's PKCS#1 or PKCS#8 private key file
70 .BI "\-t, \-\-key\-type " type
71 Define the type of the private key if stored in PKCS#1 format. Can be omitted
74 .BI "\-x, \-\-keyid " hex
75 Set the keyid of the private key stored in a smartcard or a TPM 2.0 Trusted
78 .BI "\-i, \-\-client " client-id
79 Set the username or client ID of the client required for password-based SASL
82 .BI "\-s, \-\-secret " password
83 Set the preshared secret or client password required for password-based SASL
87 Enable mutual attestation between PT-TLS client and PT-TLS server.
89 .BI "\-v, \-\-debug " level
90 Set debug level, default: 1.
93 Disable debug output to stderr.
95 .BI "\-+, \-\-optionsfrom " file
96 Read command line options from \fIfile\fR.
100 Connect to a PT-TLS server using certificate-based authentication,
101 storing the private ECDSA key in a file:
104 pt-tls-client \-\-connect pdp.example.com \-\-cert ca.crt \\
105 \-\-cert client.crt \-\-key client.key \-\-key\-type ecdsa
108 Connect to a PT-TLS server using certificate-based authentication,
109 storing the private key in a smartcard or a TPM 2.0 Trusted Platform Module:
112 pt-tls-client \-\-connect pdp.example.com \-\-cert ca.crt \\
113 \-\-cert client.crt \-\-keyid 0x81010002
116 Connect to a PT-TLS server listening on port 443, using SASL password-based
120 pt-tls-client \-\-connect pdp.example.com --port 443 \-\-cert ca.crt \\
121 \-\-client jane \-\-password p2Nl9trKlb
129 .BR strongswan.conf (5)