mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-23 02:04:46 +02:00
10 lines
230 B
Bash
Executable File
10 lines
230 B
Bash
Executable File
#!/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`
|
|
|
|
exec "$@"
|