Page 1 of 1
apache ssl Cert -> postfix & cyrus
Posted: 2006-01-10 12:59
by hega72
Hi,
ist es möglich, aus dem SSL Certificat und Key, die man in Apache für SSL einbindet, die Notwendigen Files zu generieren, die ich für TLS mit Postfix / Cyrus braucht ?
Irgendwie stehe ich da gerade auf dem Schlauch.
Für jeden Tip Dankbar
Gruß
Re: apache ssl Cert -> postfix & cyrus
Posted: 2006-01-10 14:50
by lord_pinhead
Ja, du musst Key und Zertifikat eigentlich nur in eine File kopieren, z.b. postfix.pem und dann in die main.cf einfügen, das sind meine einstellungen dafür:
Code: Select all
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/ssl/smtpd.pem
smtpd_tls_cert_file = /etc/ssl/smtpd.pem
smtpd_tls_CAfile = /etc/ssl/smtpd.pem
smtpd_tls_loglevel = 3
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
die CA File ist allerdings nur wenn du dich selbst authentifizierst, also eine eigene CA betreibst. Das ganze kannst du nochmal
hier nachlesen.
Re: apache ssl Cert -> postfix & cyrus
Posted: 2006-01-10 15:05
by hega72
na, das war ja schmerzfrei. Danke für die prompte Anwort.