Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.
/ nginx_ssl_tack Public archive

Patch for ngx_http_ssl_module which adds TACK support. EOL!

Notifications You must be signed in to change notification settings

kyprizel/nginx_ssl_tack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

This patch enables the NGINX SSL module to respond with a TACK TLS Extension.

Directives

ssl_tack

syntax: ssl_tack (on|off);

default: off

context: server

on - Enable TLS extension

off - Disable TLS extension

ssl_tack_file

syntax: ssl_tack_file <string>

default: none

context: server

Sets TACK file path.

ssl_tack_activation_flags

syntax: ssl_tack_pin_activation (0|1|2|3);

default: 0

context: server

http://tack.io/draft.html#anchor9

Installation

Grab the nginx source code from nginx.org. Patch and compile it with openssl_tack.

wget 'http://nginx.org/download/nginx-VERSION.tar.gz'
tar -xzvf nginx-VERSION.tar.gz
patch -p0 < ngx_http_ssl_module-VERSION.patch

./configure --with-debug --with-openssl=/path/to/openssl_tack --with-http_ssl_module
make
make install

Example configuration

server {
    listen       443;
    server_name  localhost;

    ssl                  on;
    ssl_certificate      ssl/testhost.crt;
    ssl_certificate_key  ssl/testhost.key;

    ssl_protocols  SSLv3 TLSv1 TLSv1.1 TLSv1.2;
    
    ssl_ciphers  HIGH:!aNULL:!MD5;
    ssl_prefer_server_ciphers   on;

    ssl_tack on;
    ssl_tack_file ssl/tack.sig;
    ssl_tack_activation_flags 1;

    location / {
        root   html;
    }
}

About

Patch for ngx_http_ssl_module which adds TACK support. EOL!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published