Hitch

提供: Amayus Wiki
Jump to navigation Jump to search

リンク[編集]

前提[編集]

$ sudo apt install libev-dev
$ sudo yum install libev-devel

インストール[編集]

$ wget https://hitch-tls.org/source/hitch-1.5.0.tar.gz
$ tar xf hitch-1.5.0.tar.gz
$ cd hitch-1.5.0
$ export SSL_CFLAGS="-I /opt/openssl-1.1.1b/include -L /opt/openssl-1.1.1b/lib"
$ export SSL_LIBS=-lssl
$ export CRYPTO_CFLAGS="-I /opt/openssl-1.1.1b/include -L /opt/openssl-1.1.1b/lib"
$ export CRYPTO_LIBS=-lcrypto
$ ./configure --prefix=/opt/hitch-1.5.0
$ make -j2
$ make check
$ sudo make install

鍵ファイルの用意[編集]

# cd /etc/letsencrypt/live/example.com
# openssl dhparam -rand - 2048 | tee dhparams.pem
# cat privkey.pem fullchain.pem dhparams.pem > hitch-bundle.pem