Sign inSign up

zalari/nginx-http-hash

By zalari

•Updated almost 10 years ago

Simple nginx-based docker image for fulfilling http hash challenges to acquire SSL certificates.

Image
0

1.2K

zalari/nginx-http-hash repository overview

⁠nginx-http-hash

This is a simple nginx image for HTTP-HASH validation for SSL certificate validation. It has only two ENV variables:

HASHFILENAME and HASHVALUE, with the former being the actual file, that is exposed below the web roots.

⁠Example usage

Say, your SSL-Seller challenges you to provide the HASHVALUE "dshjhsjd" in the file "dhhd.htm", then run the image like that:

docker run --name some_nginx -p 9876:80 -e HASHFILENAME=dhhd.htm -e HASHVALUE=dshjhsjd -d zalari/nginx-http-hash

and you should get the following result:

curl -v http://dockerhost:9876/dhhd.htm

Tag summary

Content type

Image

Digest

Size

68.2 MB

Last updated

almost 10 years ago

docker pull zalari/nginx-http-hash