make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/ssl/private/domain.com.pem
OU
openssl req -x509 -nodes -days 730 -newkey rsa:4096 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.pem
Pour Postfix
openssl req -new -outform PEM -out /etc/postfix/smtpd.cert -newkey rsa:4096 -nodes -keyout /etc/postfix/smtpd.key -keyform PEM -days 730 -x509
Pour Courier
openssl req -out /etc/courier/imapd.pem -newkey rsa:4096 -keyout /etc/courier/imapd.pem -nodes -days 730 -x509
Selectionner le code