Giter Site home page Giter Site logo

testssl.sh-webfrontend's Introduction

Web Front End for testssl.sh

This project is a web interface for testssl.sh. It can be used to offer internal TLS/SSL configuration check portals, whereever the usual public tools are not applicable.

Webfrontend Result

Installation

  1. Clone the testssl.sh-webfrontend repository with its main dependency testssl.sh by invocation of git clone --recursive https://github.com/TKCERT/testssl.sh-webfrontend.git.
  2. Install Python 3 (apt-get install python3) and the Python module Flask by running pip3 install flask.
  3. Install aha (apt-get install aha)
  4. Configure SSLTestPortal.py, especially application.secret_key, in its configuration section and create the required paths (log, result/html and result/json in the default configuration).
  5. Run SSLTestPortal.py or deploy it as WSGI script.

NGINX Reverse Proxy

If you would like to run behind a NGINX Reverse Proxy simply add this to your configuration file in sites-enabled. If you want to add security to it look at nginx module basic_auth.

 location /testssl/ {
      proxy_pass http://127.0.0.1:5000/;
      gzip_types text/plain application/javascript;
      proxy_http_version 1.1;
      proxy_set_header Upgrade $http_upgrade;
      proxy_set_header Connection "upgrade";
      proxy_connect_timeout 200;  # you might need to increase these values depending on your server hardware. 
      proxy_send_timeout 200;     # you might need to increase these values depending on your server hardware. 
      proxy_read_timeout 200;     # you might need to increase these values depending on your server hardware. 
      send_timeout 200;           # you might need to increase these values depending on your server hardware. 
 }

You still have to autostart the script on boot. This can be done manually in a screen.

Docker

Markus Kraus (@vMarkus_K) created a Docker Image.

testssl.sh-webfrontend's People

Contributors

thomaspatzke avatar night1 avatar neo23x0 avatar tsgsecops avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.