10 lines
295 B
Bash
Executable File
10 lines
295 B
Bash
Executable File
#!/bin/sh
|
|
|
|
openssl genpkey -algorithm RSA -out tls.key && \
|
|
openssl req -new -key tls.key -out tls.csr -subj "/C=DE/CN=$HOSTNAME" && \
|
|
openssl x509 -req -in tls.csr -signkey tls.key -out tls.crt -days 3650 && \
|
|
chown exim tls.key tls.crt && \
|
|
m4 exim.conf.m4 > exim.conf && \
|
|
exim -bd -q15m -v
|
|
|