Elijah Paul

  • No Tweets.
  • Archive
    Blog



    Since I couldn’t find a straight forward tutorial for installing a RapidSSL Commerical Certificate on Zimbra 8.0, I decided to write one for reference if not anything else.

    RapidSSL Commercial Certificate offer a very cost effective way to add a commercial cert to your Zimbra server.

    The best way to install a RapidSSL cert is via the CLI as the root user.

    1. Start by logging into your Zimbra servers CLI via SSH.

    2. As root begin by generating a Certificate Signing Request (CSR). Below replace ‘mail.yourdomain.com’ with the FQDN of your Zimbra server.

    /opt/zimbra/bin/zmcertmgr createcsr comm -new -keysize 2048 -subject "/C=GB/ST=England/L=London/O=Company Name/OU=Company Branch Name/CN=mail.yourdomain.com" -subjectAltNames mail.yourdomain.com



    The above command includes the following codes:

    /C = Country: The Country is a two-digit code — for the United Kingdom, it’s ‘GB’. A list of country codes is available here -

    /ST = State: State is a full name, i.e. ‘California’, ‘Scotland’.

    /L = Locality: Locality is a full name, i.e. ‘London’, ‘New York’.

    /O = Organization: The Organization Name is your Full Legal Company or Personal Name, as legally registered in your locality.

    /OU = Organizational Unit: The Organizational Unit is whichever branch of your company is ordering the certificate such as accounting, marketing, etc.

    /CN = Common Name: The Common Name is the Fully Qualified Domain Name (FQDN) for which you are requesting the ssl certificate. This will be the FQDN of your Zimbra server, e.g. mail.yourdomain.com or zimbra.yourdomain.com

    3. Now upload/send the certificate request (Zimbra saves it to ‘/opt/zimbra/ssl/zimbra/commercial/commercial.csr’) to your SSL provider. They will most likely provide you with your Commercial Certificate via an email in the form of text or an attached file.

    4. Save your Commercial Certificate in a temporary file. If provided as plain text you can cut and paste it into a new file using
    nano

    nano /tmp/commercial.crt



    5. Download and save the root Certificate Authority (CA) for RapidSSL certificates to a temporary file. (e.g. /tmp/ca.crt). Again you can cut and paste the CA text into a new file using nano.

    nano /tmp/ca.crt

    The root CA for RapidSSL certificates is provided by GeoTrust and can be found herehttps://ssltest12.bbtest.net/


    6. Download any intermediary CAs from your SSL provider, again to a temporary file. (e.g. /tmp/ca_intermediary.crt). RapidSSL certs usually come with a single intermediary certificate. Once again, if the intermediary certificate is provided as plain text cut and paste it using nano

    nano /tmp/ca_intermediary.crt



    7. Combine root and intermediary CAs into a temporary file.

    cat /tmp/ca.crt /tmp/ca_intermediary.crt > /tmp/ca_chain.crt



    8. Verify your commercial Certificate:

    # /opt/zimbra/bin/zmcertmgr deploycrt comm /tmp/commercial.crt /tmp/ca_chain.crt



    9. Deploy your commercial certificate

    /opt/zimbra/bin/zmcertmgr deploycrt comm /tmp/commercial.crt /tmp/ca_chain.crt



    10. To finish, verify the certificate was deployed.

    /opt/zimbra/bin/zmcertmgr viewdeployedcrt



    11. Restarting Zimbra services will ensure the new commercial certificate takes effect

    su zimbra
    zmcontrol restart

     

    Read More

     
    Sam Bashton at Bashton Blog has created some pretty nifty Amazon EC2 CentOS 6.2 AMI’s.

    They’re light weight, ‘hack’ free, (i.e. “random repositories enabled, random extra packages installed, no instance based swap etc etc.”) and come in both 32bit and 64bit, EBS or Instance Store versions.

    Login Username: ec2-user
    Root Device Name: /dev/sda1

    Region

    EBS-Backed
    (32-bit)

    EBS-Backed
    (64-bit)

    Instance Store
    (32-bit)

    Instance Store
    (64-bit)

    eu-west-1

    ami-bda09ec9

    ami-afa09edb

    ami-7fa09e0b

    ami-1ba09e6f

    us-east-1

    ami-94cf1cfd

    ami-eece1d87

    ami-62cd1e0b

    ami-3ecd1e57

    us-west-2

    ami-c80d80f8

    ami-c00d80f0

    ami-e20d80d2

    ami-c473fef4

    Source: http://blog.bashton.com/2012/centos-6-2-ec2-ami/
    Source: http://thecloudmarket.com/owner/561795456677–bashton

    Read More

     

    A brief run down of the pros and cons when deciding between Private vs Public cloud computing.

    Private vs Public Cloud Infographic

    Source: Internap

    Read More

     
    Percona recently released the beta version of their MySQL cluster offering. Percona XtraDB Cluster (Beta).

    Features:

    • Synchronous replication
    • Multi-master replication support
    • Parallel replication
    • Automatic node provisioning

    I’ve been using Percona XtraDB Server as a replacement for regular old plain MySQL deployments more and more recently. And I have to say that I’ve definitely seen a performance increase with a number of different scenarios.

    Percona XtraDB Cluster is built on MySQL 5.5 and Galera 2.0 GA. It’s setup such that through “parallel replication”, each node in a cluster contains a full (current) copy of data. Queries can be written to any node in a cluster and the data is synchronized to all nodes, thus maintaining data consistency. Since write queries are either committed on all nodes or not committed at all, the consistency of your data is guaranteed.

    Read More