Translated into English - Yandex Translate.
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.
- Clone the repository to your server:
git clone https://github.com/pkashin/sslRating.git
-
Create DNS records for your domain name (for example
example.com
) and subdomainstraefik.example.com
to display the Traefik dashboard. As values, specify the IP address of your server on which Traefik will be deployed. -
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
- Go to the
sslRating
directory and start the containers:
cd sslRating/
docker-compose up -d
-
Certificates will be formed in the file
/sslRating/traefik/acme/acme.json
. -
Go to the SSL Labs website and enter the domain name you want to test. Click the
Submit
button.