tls-program

tls-program is a variable defined in `tls.el'.
Its value is

("gnutls-cli --insecure -p %p %h" "gnutls-cli --insecure -p %p %h --protocols ssl3" "openssl s_client -connect %h:%p -no_ssl2 -ign_eof")

  • This variable may be risky if used as a file-local variable.

Documentation:
List of strings containing commands to start TLS stream to a host.
Each entry in the list is tried until a connection is successful.
%h is replaced with server hostname, %p with port to connect to.
The program should read input on stdin and write output to stdout.

See `tls-checktrust' on how to check trusted root certs.

Also see `tls-success' for what the program should output after
successful negotiation.

You can customize this variable.

This variable was introduced, or its default value was changed, in version 22.1 of Emacs.