Difference between revisions of "sendmail/SSL"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
(Created page with "category:SSL ==About== The sendmail configuration parameters related to SSL seem to be: * {{l/same|confCACERT_PATH}} * {{l/same|confCACERT}} *...")
 
(update and another link)
 
Line 6: Line 6:
 
* {{l/same|confSERVER_CERT}}
 
* {{l/same|confSERVER_CERT}}
 
* {{l/same|confSERVER_KEY}}
 
* {{l/same|confSERVER_KEY}}
All four must be defined in order for sendmail to offer [[STARTTLS]] connections. Unfortunately, the meaning of each parameter doesn't actually seem to be documented anywhere -- so any situation where there is no .pem file (e.g. a [[self-signed certificate]]) is unworkable without more information.
+
All four must be defined in order for sendmail to offer [[STARTTLS]] connections. If you are using a [[self-signed certificate]], you will need to generate a .pem file.
 
==Example==
 
==Example==
 
<pre>
 
<pre>
Line 18: Line 18:
 
* [http://www.sendmail.org/~ca/email/doc8.12/cf/m4/starttls.html STARTTLS]
 
* [http://www.sendmail.org/~ca/email/doc8.12/cf/m4/starttls.html STARTTLS]
 
* [http://www.sendmail.org/~ca/email/starttls.html SMTP STARTTLS in sendmail/Secure Switch]
 
* [http://www.sendmail.org/~ca/email/starttls.html SMTP STARTTLS in sendmail/Secure Switch]
 +
===how-to===
 +
* [http://aput.net/~jheiss/sendmail/tlsandrelay.shtml Configuring Sendmail's STARTTLS (SSL) and Relaying]

Latest revision as of 20:50, 24 March 2015

About

The sendmail configuration parameters related to SSL seem to be:

All four must be defined in order for sendmail to offer STARTTLS connections. If you are using a self-signed certificate, you will need to generate a .pem file.

Example

define(`confCACERT_PATH',`/etc/apache2/certs')
define(`confCACERT',`/etc/apache2/certs/RapidSSL_CA_bundle.pem')
define(`confSERVER_CERT',`/etc/apache2/certs/vbz.net.crt')
define(`confSERVER_KEY',`/etc/apache2/certs/rizzo.key')

Links

official

how-to