From 6e04347fbf463da907cb6a82c663290c761cc513 Mon Sep 17 00:00:00 2001 From: Andrey Arapov Date: Sat, 30 Jun 2018 20:41:49 +0200 Subject: [PATCH] update --- README.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 5d6b75e..180f31f 100644 --- a/README.md +++ b/README.md @@ -30,15 +30,16 @@ self-signed CA. ``/etc/ssl/certs/ca-certificates.crt`` file. 3. Restart Traefik. -> NOTE: Steps 2. and 3. will need to be repeated each time you get a new CA -> certificate. Then they can be automated this way: -> - Start Traefik with this command: -> ``sh -c "update-ca-certificates && traefik"`` -> while ``/usr/local/share/ca-certificates`` path is a host mounted -> path with the CA certificate produced by this script. -> NOTE: I am using Alpine Traefik image, the correct ca certificates path is -> ``/usr/local/share/ca-certificates/``, otherwise one of these -> https://golang.org/src/crypto/x509/root_linux.go +> Steps 2. and 3. will need to be repeated each time you get a new CA +> certificate. Then they can be automated this way: +> - Start Traefik with this command: +> ``sh -c "update-ca-certificates && traefik"`` +> while ``/usr/local/share/ca-certificates`` path is a host mounted +> path with the CA certificate produced by this script. + +> I am using Alpine Traefik image, the correct ca certificates path is +> ``/usr/local/share/ca-certificates/``, otherwise one of these +> https://golang.org/src/crypto/x509/root_linux.go ## Script logic - generate CA cert if does not find any.