mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-29 22:30:27 +02:00
Fix some bugs in the shell scripts.
This commit is contained in:
parent
e4d70d5147
commit
133d6eba32
3 changed files with 4 additions and 5 deletions
3
target/bin/generate-ssl-certificate
Normal file → Executable file
3
target/bin/generate-ssl-certificate
Normal file → Executable file
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
FQDN=$(hostname)
|
||||
FQDN=$(hostname --fqdn)
|
||||
|
||||
cd /ssl
|
||||
# Create CA certificate
|
||||
|
@ -11,4 +11,3 @@ openssl req -new -nodes -keyout /ssl/$FQDN-key.pem -out /ssl/$FQDN-req.pem -days
|
|||
openssl ca -out /ssl/$FQDN-cert.pem -infiles /ssl/$FQDN-req.pem
|
||||
# Combine certificates for courier
|
||||
cat /ssl/$FQDN-key.pem /ssl/$FQDN-cert.pem > /ssl/$FQDN-combined.pem
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue