GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Twiggy::TLS(3) User Contributed Perl Documentation Twiggy::TLS(3)

Twiggy::TLS - Twiggy server with TLS support.

    twiggy --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;

Twiggy::TLS extends Twiggy with a TLS support.

All files must be in PEM format. You can merge multiply entities in a one file (like server key and certificate).

Sets 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.

This 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".

Path to the server private key file.

Path to the server certificate file.

Controls the verification of the peer identity. Possible values are:
"off"
Default. Disable peer verification.
"on"
Request peer certificate and verify it against CA. You can specify CA certificate with "tls_ca" option.
"optional"
Same as "on", but allows users that has not passed verification.

Path to file that contains CA certificate. Used for peer verification.

TLS connection information stored in the environment key "psgi.tls", see Twiggy::TLS::Info.

You can set the "TWIGGY_DEBUG" environment variable to get diagnostic information.

This module is licensed under the same terms as Perl itself.

Sergey Zasenko

Twiggy
2013-06-24 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.