Skip to content

pkashin/sslRating

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

version GitHub Traefik NextJS
Translated into English - Yandex Translate.

πŸ† Getting an A+ rating in SSL Labs using Traefik and Let's Encrypt

The repository was created to maintain the current configuration of the SSL server using Traefik in terms of deploying a secure site or web application. The minimum possible Traefik setup is considered (free Let's Encrypt certificates are used) to get the highest score according to testing data SSL Labs. In the future, it is planned to expand the testing area with the help of The Mozilla Observatory and other services.

Rating

πŸ’» How to use

  1. Clone the repository to your server:
git clone https://github.com/pkashin/sslRating.git
  1. Create DNS records for your domain name (for example example.com) and subdomains traefik.example.com to display the Traefik dashboard. As values, specify the IP address of your server on which Traefik will be deployed.

  2. Open the .env.example file and change the environment variables with your real data. Rename and save the .env.example file to .env.

    • ACME_EMAIL - email address that will be used to register the certificate.
    • DOMAIN - domain name for which the certificate will be issued.
# .env.example
ACME_EMAIL=email@example.com
DOMAIN=example.com
  1. Go to the sslRating directory and start the containers:
cd sslRating/
docker-compose up -d
  1. Certificates will be formed in the file /sslRating/traefik/acme/acme.json.

  2. Go to the SSL Labs website and enter the domain name you want to test. Click the Submit button.

SslServerTest