Help for this page

Select Code to Download


  1. or download this
    if($usessl) {
        my $defaultdomain = $self->{config}->{sslconfig}->{ssldefaultdomai
    +n};
        my $encrypted;
    ...
            $self->endprogram();
        }
    }
    
  2. or download this
                    # Enable workarounds for broken clients
                    Net::SSLeay::CTX_set_options($ctx, &Net::SSLeay::OP_AL
    +L);
    
    ...
    
                    # Disable session tickets
                    Net::SSLeay::CTX_set_options($ctx, &Net::SSLeay::OP_NO
    +_TICKET);
    
  3. or download this
    Net::SSLeay::CTX_use_certificate_chain_file($ctx, $self->{config}->{sslconfig}->{ssldomains}->{$defaultdomain}->{sslcert});
  4. or download this
                    Net::SSLeay::CTX_set_tlsext_servername_callback($ctx, 
    +sub {
                        my $ssl = shift;
                        my $h = Net::SSLeay::get_servername($ssl);
    ...
                    });
    ...
                },