Archive for October, 2012

iPad Mini Vs. New iPad (iPad 3): brief comparison

Tuesday, October 23rd, 2012

At my advice the iPad Mini is a shrieked version of the New iPad (aka iPad 3), with a very few differences, some borrowed from the iPad 2.

  1. Mostly significant, and brand new:
    1.  THINNER borders design.
    2. mounts Micro-SIM
    3. uses the ‘Lightning’ connector
  2. The weight is almost the half of the New iPad, 308g against 601g.
  3. The screen is NOT retina
    1. same resolution as the iPad 2: 1024 x 768
    2. 168dpi vs 132dpi of iPad 2 vs 264dpi as New iPad
  4.  the process is the Dual-Core A5 (same as iPad 2) vs the Dual-Core CPU/Quad-Core GPU A5X (New iPad)
  5. ..and of course, the dimension is… MINI

all the other features are the same as the New iPad (iPad 3).

 

Where To Download Workgroup Manager 10.8 for Mac OS X Server 10.8 Mountain Lion

Friday, October 12th, 2012

Workgoup Manager is NO MORE included in OS X Server since the release of Mountain Lion 10.8.

If you want to manager OS X Server Open Directory in the ‘old way’ you will need to download Workgroup Manager 10.8 from this link:

http://support.apple.com/kb/DL1567

Download: (History of) Free Software Foundation In A Nutshell

Tuesday, October 9th, 2012

Here there are the PDF, MP3, M4B (audiobook) and iBooks versions of ‘Free Software Foundation In A Nutshell’

mp3: Free Software Foundation In A Nutshell

m4b: Free Software Foundation In A Nutshell

pdf: Free Software Foundation In A Nutshell

ibooks: Free Software Foundation In A Nutshell

Download and Share, please.

 

How-To Fix Cadaver Showing “WARNING: Untrusted server certificate presented” on Mac OS X

Tuesday, October 2nd, 2012

Here is explained how to compile Cadaver to support root CA certificates with ‘homebrew’ or Mac OS X.

Cadaver is a command line webdav client tool. It’s available on Mac through the ‘homebrew‘ subsystem for OS X.
It has the capability to connect you to webdav services via both http and https protocols, with the same ease you would use a ftp client.

While using ‘cadaver’ to connect to a webdav repository via https (SSL encrypted http), you may experience the odd request from the tool to accept the SSL certificate offered by the site you are connecting to because it is recognised as ‘Untrusted’, although the same certificate is not expired yet and is recognised as trusted by any other tool webdav client you may use (i.e. browsers or graphical tools like Cyberduck). This is the message that will be thrown “WARNING: Untrusted server certificate presented”.

This annoying behaviour prevents you to use ‘cadaver’ in system scripting because it will require a human interaction at any execution.

The reason behind this obvious error, are apparently connected to the fact that ‘cadaver’ relies on the ‘libneon’ libraries to handle the SSL encrypted connections and such libraries, in the instance of OS X, are not able to interact with Certificate Authorities Certificates installed in the system, therefore there are not able to verify the ‘trusted’ status of any certificate they come across.

On a GNU/Linux system showing the same warning,  it’s probably enough to install the ‘ca-certificates’ packager otherwise another possible solution is to recompile the ‘libneon’ libraries making sure to specify the right path to the ‘root CA certificates’ during the configuration.

On a Mac OS X the ‘libneon’ libraries are not available via ‘homebrew’, then installed version of cadaver is using it’s own copy of them. That means we will have to force ‘homebrew’ to recompile an reinstall ‘cadaver’ including a copy of the ‘root CA certificates‘. To do so we will use ‘curl’ sources and modify cadaver’s homebrew formula formula.

You may skip the stage 1 and 2 in case you have already a curl’s certificate bundle installed at/usr/share/curl/curl-ca-bundle.crt

  1. Download and unarchive the Curl sources:
    $ wget http://curl.haxx.se/download/curl-7.22.0.tar.bz2
    $ tar xvjf curl-7.22.0.tar.bz2
  2. Retrive the ‘root CA certificates’ using a script included in curl’s sources directory:
    $ cd curl-7.22.0/lib/ 
    $  ./mk-ca-bundle.pl
  3. Install the ‘root CA certificates’ :
    $ sudo mkdir -p /usr/share/curl/
    $ sudo cp ca-bundle.crt /usr/share/curl/curl-ca-bundle.crt
  4. modify cadaver’s homebrew formula to include the ‘root CA certificates’ during the compilation:
    $ brew edit cadaver

    add this  string  – “–with-ca-bundle=/usr/share/curl/curl-ca-bundle.crt”, – to the ‘def install’ section of the formula (including the double-quotes and the comma), as follow:

    def install

    system “./configure”, “–prefix=#{prefix}”,

    “–with-included-neon”,

    “–with-ca-bundle=/usr/share/curl/curl-ca-bundle.crt”,

    “–with-ssl”

     

  5. Remove the current installation of ‘cadaver’:
    $ brew remove cadaver
  6. Re-Install ‘cadaver’ that will be recompiled with a link to the ‘root CA certificates’:
    $ brew install cadaver

    Mind that the ‘root CA certificates’ will not be hard-coded in ‘cadaver’, only their path will be hardcoded, so DO NOT move the ‘curl-ca-bundle.crt’ from it’s location otherwise you will experience again the ‘WARNING: Untrusted server certificate presented’ issue.

At this point you should be able to use cadaver with https webdav repositories without been requested to accept every single SSL certificate.