Browse Source

added script for getting tls certs

toastie89 5 months ago
parent
commit
0c272cab57
2 changed files with 13 additions and 2 deletions
  1. 5 0
      minio/.env.template
  2. 8 2
      minio/HTTPS.md

+ 5 - 0
minio/.env.template

@@ -11,3 +11,8 @@ MINIO_DATA=./data
 # IP / Port Mapping 
 # IP_ADDRESS=192.168.10.10:9000:9000
 PORT_MAPPING=9000:9090
+
+# Path to certificates, expected filenames:
+#  - fullchain.pem
+#  - key.pem
+CERT_PATH=/opt/docker/proxy/data/certs/minio.example.com

+ 8 - 2
minio/HTTPS.md

@@ -1,5 +1,6 @@
-# Activate TLS
+# TLS Certificates
 
+## Snake Oil
 To get started with snake oil certs:
 ```
 sudo apt install ssl-cert
@@ -9,7 +10,12 @@ sudo cp /etc/ssl/private/ssl-cert-snakeoil.key ./data/home/.minio/certs/private.
 sudo chown -R 1000:1000 data
 ```
 
+## Certs from proxy-companion 
+`docker-compose.overrride.yml` defines a seperate container
+to copy certs from another container which runs proxy-companion,
+rename them and sets permissions.
+
 
 ### References
   - https://docs.min.io/docs/how-to-secure-access-to-minio-server-with-tls.html
-  - https://wiki.ubuntuusers.de/ssl-cert/
+  - https://wiki.ubuntuusers.de/ssl-cert/