Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   gnutls-serv    ( 1 )

gnuTLS сервер (GnuTLS server)

  Name  |  Synopsis  |  Description  |    Options    |  Examples  |  Exit  |  See also  |

Параметры (Options)

-d number, --debug=number
              Enable debugging.  This option takes an integer number as
              its argument.  The value of number is constrained to
              being:
                  in the range  0 through 9999

Specifies the debug level.

--sni-hostname=string Server's hostname for server name extension.

Server name of type host_name that the server will recognise as its own. If the server receives client hello with different name, it will send a warning-level unrecognized_name alert.

--sni-hostname-fatal Send fatal alert on sni-hostname mismatch.

--alpn=string Specify ALPN protocol to be enabled by the server. This option may appear an unlimited number of times.

Specify the (textual) ALPN protocol for the server to use.

--alpn-fatal Send fatal alert on non-matching ALPN name.

--noticket Don't accept session tickets.

--earlydata Accept early data.

--maxearlydata=number The maximum early data size to accept. This option takes an integer number as its argument. The value of number is constrained to being: greater than or equal to 1

--nocookie Don't require cookie on DTLS sessions.

-g, --generate Generate Diffie-Hellman parameters.

-q, --quiet Suppress some messages.

--nodb Do not use a resumption database.

--http Act as an HTTP server.

--echo Act as an Echo server.

--crlf Do not replace CRLF by LF in Echo server mode.

-u, --udp Use DTLS (datagram TLS) over UDP.

--mtu=number Set MTU for datagram TLS. This option takes an integer number as its argument. The value of number is constrained to being: in the range 0 through 17000

--srtp-profiles=string Offer SRTP profiles.

-a, --disable-client-cert Do not request a client certificate. This option must not appear in combination with any of the following options: require-client-cert.

-r, --require-client-cert Require a client certificate.

This option before 3.6.0 used to imply --verify-client- cert. Since 3.6.0 it will no longer verify the certificate by default.

--verify-client-cert If a client certificate is sent then verify it..

Do not require, but if a client certificate is sent then verify it and close the connection if invalid.

-b, --heartbeat Activate heartbeat support.

Regularly ping client via heartbeat extension messages

--x509fmtder Use DER format for certificates to read from.

--priority=string Priorities string.

TLS algorithms and protocols to enable. You can use predefined sets of ciphersuites such as PERFORMANCE, NORMAL, SECURE128, SECURE256. The default is NORMAL.

Check the GnuTLS manual on section 'Priority strings' for more information on allowed keywords

--dhparams=file DH params file to use.

--x509cafile=string Certificate file or PKCS #11 URL to use.

--x509crlfile=file CRL file to use.

--pgpkeyfile=file PGP Key file to use.

NOTE: THIS OPTION IS DEPRECATED

--x509keyfile=string X.509 key file or PKCS #11 URL to use. This option may appear an unlimited number of times.

Specify the private key file or URI to use; it must correspond to the certificate specified in --x509certfile. Multiple keys and certificates can be specified with this option and in that case each occurrence of keyfile must be followed by the corresponding x509certfile or vice-versa.

--x509certfile=string X.509 Certificate file or PKCS #11 URL to use. This option may appear an unlimited number of times.

Specify the certificate file or URI to use; it must correspond to the key specified in --x509keyfile. Multiple keys and certificates can be specified with this option and in that case each occurrence of keyfile must be followed by the corresponding x509certfile or vice-versa.

--x509dsakeyfile This is an alias for the --x509keyfile option.

NOTE: THIS OPTION IS DEPRECATED

--x509dsacertfile This is an alias for the --x509certfile option.

NOTE: THIS OPTION IS DEPRECATED

--x509ecckeyfile This is an alias for the --x509keyfile option.

NOTE: THIS OPTION IS DEPRECATED

--x509ecccertfile This is an alias for the --x509certfile option.

NOTE: THIS OPTION IS DEPRECATED

--rawpkkeyfile=string Private key file (PKCS #8 or PKCS #12) or PKCS #11 URL to use. This option may appear an unlimited number of times.

Specify the private key file or URI to use; it must correspond to the raw public-key specified in --rawpkfile. Multiple key pairs can be specified with this option and in that case each occurrence of keyfile must be followed by the corresponding rawpkfile or vice-versa.

In order to instruct the application to negotiate raw public keys one must enable the respective certificate types via the priority strings (i.e. CTYPE-CLI-* and CTYPE-SRV-* flags).

Check the GnuTLS manual on section 'Priority strings' for more information on how to set certificate types.

--rawpkfile=string Raw public-key file to use. This option may appear an unlimited number of times. This option must appear in combination with the following options: rawpkkeyfile.

Specify the raw public-key file to use; it must correspond to the private key specified in --rawpkkeyfile. Multiple key pairs can be specified with this option and in that case each occurrence of keyfile must be followed by the corresponding rawpkfile or vice-versa.

In order to instruct the application to negotiate raw public keys one must enable the respective certificate types via the priority strings (i.e. CTYPE-CLI-* and CTYPE-SRV-* flags).

Check the GnuTLS manual on section 'Priority strings' for more information on how to set certificate types.

--srppasswd=file SRP password file to use.

--srppasswdconf=file SRP password configuration file to use.

--pskpasswd=file PSK password file to use.

--pskhint=string PSK identity hint to use.

--ocsp-response=string The OCSP response to send to client. This option may appear an unlimited number of times.

If the client requested an OCSP response, return data from this file to the client.

--ignore-ocsp-response-errors Ignore any errors when setting the OCSP response.

That option instructs gnutls to not attempt to match the provided OCSP responses with the certificates.

-p number, --port=number The port to connect to. This option takes an integer number as its argument.

-l, --list Print a list of the supported algorithms and modes.

Print a list of the supported algorithms and modes. If a priority string is given then only the enabled ciphersuites are shown.

--provider=file Specify the PKCS #11 provider library.

This will override the default options in /etc/gnutls/pkcs11.conf

--keymatexport=string Label used for exporting keying material.

--keymatexportsize=number Size of the exported keying material. This option takes an integer number as its argument.

--recordsize=number The maximum record size to advertise. This option takes an integer number as its argument. The value of number is constrained to being: in the range 0 through 16384

--httpdata=file The data used as HTTP response.

-h, --help Display usage information and exit.

-!, --more-help Pass the extended usage information through a pager.

-v [{v|c|n --version [{v|c|n}]}] Output version of program and exit. The default mode is `v', a simple version. The `c' mode will print copyright information and `n' will print the full copyright notice.