This commit is contained in:
Andy 2018-06-30 21:32:33 +02:00
parent b40e09368e
commit 945535f3ac
Signed by: arno
GPG Key ID: 9076D5E6B31AE99C

View File

@ -25,13 +25,13 @@ self-signed CA.
1. Replace ``minio server`` command with the following one: 1. Replace ``minio server`` command with the following one:
- ``cd /root/.minio/certs && ./gencert.sh --cn minio.example.com && minio server /data`` - ``cd /root/.minio/certs && ./gencert.sh --cn minio.example.com && minio server /data``
> This way Minio server will get the certificate it needs, hence SSE-C
> will be enabled.
2. Copy the CA certificate ``ca.crt`` file to ``/usr/local/share/ca-certificates/`` and 2. Copy the CA certificate ``ca.crt`` file to ``/usr/local/share/ca-certificates/`` and
run ``update-ca-certificates`` command which will update run ``update-ca-certificates`` command which will update
``/etc/ssl/certs/ca-certificates.crt`` file. ``/etc/ssl/certs/ca-certificates.crt`` file.
3. Restart Traefik. 3. Restart Traefik.
> With the Step 1. Minio server will get the certificate it needs, hence SSE-C
> will be enabled.
> Steps 2. and 3. will need to be repeated each time you get a new CA > Steps 2. and 3. will need to be repeated each time you get a new CA
> certificate. Then they can be automated this way: > certificate. Then they can be automated this way:
> Start Traefik with this command: ``sh -c "update-ca-certificates && traefik"`` > Start Traefik with this command: ``sh -c "update-ca-certificates && traefik"``