![]() |
![]()
| ![]() |
![]()
NAMETwiggy::TLS - Twiggy server with TLS support. SYNOPSIStwiggy --server Twiggy::TLS --tls-key key.pem --tls-cert cert.pem See "ATTRIBUTES" for more details. use Twiggy::Server::TLS; my $server = Twiggy::Server::TLS->new( host => $host, port => $port, tls_key => $key_filename, tls_cert => $cert_filename ); $server->register_service($app); AE::cv->recv; DESCRIPTIONTwiggy::TLS extends Twiggy with a TLS support. ATTRIBUTESAll files must be in PEM format. You can merge multiply entities in a one file (like server key and certificate). tls_versionSets the version of the SSL protocol used to transmit data. The default is "SSLv23:!SSLv2". See "SSL_version" of IO::Socket::SSL for other values. tls_ciphersThis directive describes the list of cipher suites the server supports for establishing a secure connection. Cipher suites are specified in the OpenSSL cipherlist format <http://www.openssl.org/docs/apps/ciphers.html#CIPHER_STRINGS>. The default is "HIGH:!aNULL:!MD5". tls_keyPath to the server private key file. tls_certPath to the server certificate file. tls_verifyControls the verification of the peer identity. Possible values are:
tls_caPath to file that contains CA certificate. Used for peer verification. TLS INFORMATIONTLS connection information stored in the environment key "psgi.tls", see Twiggy::TLS::Info. DEBUGGINGYou can set the "TWIGGY_DEBUG" environment variable to get diagnostic information. LICENSEThis module is licensed under the same terms as Perl itself. AUTHORSerhii Zasenko SEE ALSOTwiggy
|