Using an external SMTP server with GitLab

GitLab 7 (Omnibus) Edit the /etc/gitlab/gitlab.rb file to match your SMTP servers settings and credentials. e.g.: gitlab_rails['smtp_enable'] = true gitlab_rails['smtp_address'] = "smtp.server" gitlab_rails['smtp_port'] = 456 gitlab_rails['smtp_user_name'] = "smtp user" gitlab_rails['smtp_…

PHP: openssl_pkey_new()

Note to self: When generating a new private key using openssl_pkey_new(), and specifying the private_key_bits parameter as a variable. Be sure to cast the variable to an integer! e.g. $keysize = "2048"; $privateKey = openssl_pkey_new(array( 'private_key_bits' => $keysize, // --->…

Setup External SMTP Server to Send Nagios Notifcation Alerts (CentOS)

By default Nagios uses localhost to send email notification alerts to designated admins. You can of course setup DNS records to white list your Nagios IP/Hostname in order to prevent notifications being marked as spam. But it's a lot easier to setup up Nagios to use an external SMTP…

Installing a RapidSSL certificate on Zimbra 8.0

Since I couldn't find a straight forward tutorial for installing a RapidSSL (or any other) Commerical Certificate on Zimbra 8.0, I decided to write one for reference if not anything else. RapidSSL Commercial Certificates offer a cost effective way to add a commercial cert to your Zimbra server. The…