gnutls−cli — GNU TLS test client
Simple client program to set up a TLS connection to some other computer. It sets up a TLS connection and forwards data from the standard input to the secured socket and vice versa.
−−copyrightPrints the program's license.
−d,
−−debug LEVELSpecify the debug level. Default is 1.
−h,
−−helpPrints a short reminder of the command line options.
−l,
−−listPrint a list of the supported algorithms and modes.
−r,
−−resumeConnect, establish a session. Connect again and resume this session.
−s,
−−starttlsConnect, establish a plain session and start TLS when EOF or a SIGALRM is received.
−v,
−−versionPrints the program's version number.
−−ciphers cipher1
cipher2...Ciphers to enable (use gnutls−cli −−list to show the supported ciphers).
−−comp comp1
comp2...Compression methods to enable (use gnutls−cli −−list to show the supported compression methods).
−−crlfSend CR LF instead of LF.
−−ctypes certType1
certType2...Certificate types to enable (use gnutls−cli −−list to show the supported certificate types).
−f,
−−fingerprintSend the openpgp fingerprint, instead of the key.
−−kx kx1
kx2...Key exchange methods to enable (use gnutls−cli −−list to show the supported key exchange methods).
−−macs mac1
mac2...MACs (Message Authentication Codes) to enable (use
gnutls−cli−−list
to show the supported MACs).
−p,
−−port integerThe port to connect to.
−−protocols protocol1
protocol2...Protocols to enable (use gnutls−cli −−list to show the supported protocols).
−−recordsize
integerThe maximum record size to advertize.
−−pgpcertfile FILEPGP Public Key (certificate) file to use.
−−pgpkeyfile FILEPGP Key file to use.
−−pgpkeyring FILEPGP Key ring file to use.
−−pgptrustdb FILEPGP trustdb file to use.
−−srppasswd PASSWDSRP password to use.
−−srpusername NAMESRP username to use.
−−x509cafile FILECertificate file to use.
−−x509certfile FILEX.509 Certificate file to use.
−−x509fmtderUse DER format for certificates
−−x509keyfile FILEX.509 key file to use.
−−xmlPrint the certificate information in XML format.