Re: Postfix TLS/SSL with wildcard SSL certificate

2017-04-12 Thread chaouche yacine
Nice ! thanks Skip.

Re: Postfix TLS/SSL with wildcard SSL certificate

2017-04-12 Thread Skip Montanaro
In this piece of code, why write to a .tmp file then immediately rename it without any prior processing ? The mv command will be an atomic operation, whereas the command preceding it probably won't be. You wouldn't want that pem file to be in an invalid state if some other command comes along and

Re: Postfix TLS/SSL with wildcard SSL certificate

2017-04-12 Thread chaouche yacine
Viktor, In this piece of code, why write to a .tmp file then immediately rename it without any prior processing ? > # umask 077 > # openssl pkcs12 -nodes -in /some/where/keypair.pfx \ > -out /etc/postfix/certkey.pem.tmp > # mv /etc/postfix/certkey.pem.tmp /etc/postfix/certkey.pem > # postconf

Re: Postfix TLS/SSL with wildcard SSL certificate

2017-04-10 Thread Viktor Dukhovni
> On Apr 10, 2017, at 6:02 AM, Selcuk Yazar wrote: > > I have a wildcard SSL certificate file in pfx format. More accurately, you have a PKCS#12 file, which contains a password- protected copy of the private key and the certificate chain. > I'm little confuse with smtpd_tls_cert_file ,smtpd_tl

Postfix TLS/SSL with wildcard SSL certificate

2017-04-10 Thread Selcuk Yazar
Hi, I have a wildcard SSL certificate file in pfx format (Include private key export from Windows Server). I'm little confuse with smtpd_tls_cert_file ,smtpd_tls_key_file settings. How can i prepare these cert_file and key_file files with openssl command. Actually i know how i create private key