docker-mailserver/bin/generate-ssl-certificate

4 lines
111 B
Bash

#!/bin/sh
FQDN=$(hostname)
openssl req -new -newkey rsa:2048 -nodes -keyout /ssl/$FQDN.key -out /ssl/$FQDN.csr