2022-08-23 11:57:05 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
`openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 -nodes \
|
|
|
|
-keyout /app/dockerapi_key.pem \
|
|
|
|
-out /app/dockerapi_cert.pem \
|
|
|
|
-subj /CN=dockerapi/O=mailcow \
|
|
|
|
-addext subjectAltName=DNS:dockerapi`
|
|
|
|
|
2023-06-12 16:37:48 +02:00
|
|
|
exec "$@"
|