diff options
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/auth.texi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/misc/auth.texi b/doc/misc/auth.texi index 93a301dcb1a..415a64f0211 100644 --- a/doc/misc/auth.texi +++ b/doc/misc/auth.texi | |||
| @@ -92,6 +92,7 @@ backends and you can write your own if you want. | |||
| 92 | @chapter Help for users | 92 | @chapter Help for users |
| 93 | 93 | ||
| 94 | ``Netrc'' files are a de facto standard. They look like this: | 94 | ``Netrc'' files are a de facto standard. They look like this: |
| 95 | |||
| 95 | @example | 96 | @example |
| 96 | machine @var{mymachine} login @var{myloginname} password @var{mypassword} port @var{myport} | 97 | machine @var{mymachine} login @var{myloginname} password @var{mypassword} port @var{myport} |
| 97 | @end example | 98 | @end example |
| @@ -108,12 +109,16 @@ The @code{user} is the user name. It's known as @var{:user} in | |||
| 108 | 109 | ||
| 109 | You can also use this file to specify client certificates to use when | 110 | You can also use this file to specify client certificates to use when |
| 110 | setting up TLS connections. The format is: | 111 | setting up TLS connections. The format is: |
| 112 | |||
| 111 | @example | 113 | @example |
| 112 | machine @var{mymachine} port @var{myport} key @var{key} cert @var{cert} | 114 | machine @var{mymachine} port @var{myport} key @var{key} cert @var{cert} |
| 113 | @end example | 115 | @end example |
| 114 | 116 | ||
| 115 | @var{key} and @var{cert} are filenames containing the key and | 117 | @var{key} and @var{cert} are filenames containing the key and |
| 116 | certificate to use respectively. | 118 | certificate to use respectively. In order to make network connections |
| 119 | use them automatically, either pass @code{:client-certificate t} to | ||
| 120 | @code{open-network-stream}, or customize | ||
| 121 | @code{network-stream-use-client-certificates} to @code{t}. | ||
| 117 | 122 | ||
| 118 | You can use spaces inside a password or other token by surrounding the | 123 | You can use spaces inside a password or other token by surrounding the |
| 119 | token with either single or double quotes. | 124 | token with either single or double quotes. |