Changes between Version 17 and Version 18 of configure_new_server
- Timestamp:
- Nov 16, 2007, 3:32:07 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
configure_new_server
v17 v18 13 13 * Change the domain@mayfirst.org email alias to point to your address. 14 14 15 * Go to Godaddy (which is a thawte reseller)for server.mayfirst.org. This will take a day or so to be generated.15 * Go to RapidSSL to purchase a certificate for server.mayfirst.org. This will take a day or so to be generated. 16 16 17 17 * Concat the CRT and KEY file into a file called: server.mayfirst.org.pem (replace server with the name of the server being setup) … … 23 23 }}} 24 24 25 This file will be used by courier. Copy into /etc/courier/imapd.pem and /etc/courier/pop3d.pem26 27 * Now, put each one in a separate file called: server.mayfirst.org.key and server.mayfirst.org.crt (these will be used by apache)25 * Copy into /etc/ssl/private/ 26 27 * Copy the .crt file to /etc/ssl/ 28 28 29 29 == Use volatile for SA and clamav == … … 349 349 # otherwise. This is important because passwords are sent in the clear 350 350 smtpd_tls_auth_only = yes 351 smtpd_tls_key_file = /etc/ postfix/ssl/SERVER.mayfirst.org.pem352 smtpd_tls_cert_file = /etc/ postfix/ssl/SERVER.mayfirst.org.pem351 smtpd_tls_key_file = /etc/ssl/private/SERVER.mayfirst.org.pem 352 smtpd_tls_cert_file = /etc/ssl/SERVER.mayfirst.org.crt 353 353 smtpd_tls_received_header = yes 354 354 smtpd_tls_session_cache_timeout = 3600s … … 457 457 touch /etc/courier/index 458 458 }}} 459 * Setup ssl - copy the server pem file (which you got from dotster) to the /etc/courier directories: 460 {{{ 461 cp server.mayfirst.org.pem /etc/courier/imapd.pem 462 cp server.mayfirst.org.pem /etc/courier/pop3d.pem 463 }}} 464 465 If you are using Godaddy Certificates, copy the godaddy bundle to /etc/courier/ (you can download it here: http://mayfirst.org/node/452). 466 467 Then add this line to both imapd-ssl and pop3d-ssl: 468 469 {{{ 470 TLS_TRUSTCERTS=/etc/courier/gd_intermediate_bundle.crt 459 * Edit both imapd-ssl and pop3d-ssl: 460 {{{ 461 TLS_CERTFILE=/etc/ssl/private/SERVER.mayfirst.org.pem 471 462 }}} 472 463 … … 582 573 * Change: 583 574 {{{ 584 <VirtualHost * > to: <VirtualHost *:80>575 <VirtualHost *:80> 585 576 ServerAdmin apache@mayfirst.org 586 577 DocumentRoot /srv/apache/web (create this directory and index.html file) 578 }}} 579 * Add: 580 {{{ 581 <VirtualHost *:443> 582 ServerName SERVER.mayfirst.org 583 ServerAlias www.SERVER.mayfirst.org 584 DocumentRoot /srv/apache/web 585 CustomLog /var/log/apache2/access.ssl.log combined 586 SSLEngine On 587 SSLCertificateFile /etc/apache2/ssl/SERVER.mayfirst.org.crt 588 SSLCertificateKeyFile /etc/apache2/ssl/SERVER.mayfirst.org.key 589 ErrorLog /var/log/apache2/error.log 590 </VirtualHost> 587 591 }}} 588 592