Tag Archives: osx

Updating Viscocity certificates (on mac osx)

When using Viscocity to connect to a corporate network or any other openVPN server, you’re probably using certificates with a reasonable lifetime, but sometimes the certificate expire and needs be updated. Replacing the certificate files through the Viscocity interface is quite easy – just edit the connection and replace the certificate files in the appropriate tab.

There is however another little trick, which may need to be applied before the new certificates work. Viscocity offers to save the certificate password in the Keychain and I choose to use this feature, which caused a bit of trouble when updating the certificate. While it ought to – Viscocity does not – clear the password, when the certificate is changed, so to get prompted you need to go into the Keychain access tool and delete the stored password.

Look for an entry looking something like the highlighted line below and delete the occurrence.
Screen Shot 2014-09-09 at 23.04.07

 

Connection debugging tip

Viscocity provides a detailed log, which makes it much easier to debug connection issues. In the OSX Menu bar, right click the Viscocity icon, then choose “Details”. This opens a details window where a the button bar. The button to the right allows you to see a fairly detailed log of what Viscocity is doing, and provides clues on what to fix. In the screenshot below, it’s a wrong certificate password issue (“private-key-password-failure”).

viscocity_log

ftp on OSX Lion

While it really isn’t secure at any measure, ftp is a very useful way of moving files around. Apple’s OSX have a build-in basic ftp server, but in Lion (version 10.7) the user interface seems to have disappeared from the User interface. The servers is still available under the hood if you need it.

To enable the ftp-server (the availability) enter this command in a terminal window:

sudo launchctl load -w /System/Library/LaunchDaemons/ftp.plist

From then on use this command to enable the ftp-server:

sudo launchctl start com.apple.ftpd

and youse this command to stop the ftp-server:

sudo launchctl stop com.apple.ftpd

To remove (the availability) of the ftp-server issue this command:

sudo launchctl unload /System/Library/LaunchDaemons/ftp.plist
  • If you need the ftp-server from time to time, you should probably not remove it, but just stop it, when it’s not being used.
  • If you often need an ftp-server you should probably look at a more full-featured ftp-server (such as pure ftpd).

Looking forward – looking back

There are some fundamental differences in how Microsoft and Apple does things. If you haven’t been aware of them before switching from a Windows based computer to a Mac, you’ll probably notice some of them pretty fast.

One of the first things I discovered is that things are more “binary” in the Mac world. If you have an external device it either works with the Mac or it doesn’t. There isn’t that middle ground from the windows world where it almost works, but not quite – or worse it works in even week numbers but not when the sun shine.

Another thing I fear I’ll discover after the next Apple World Wide Developer Conference is their will to leave things behind. Microsoft has an impressive – maybe even amazing – record of backwards compatibility. Almost no matter how they move forward, they never really break anything backwards. Apple on the other hand is pretty hard on legacy – if you can’t keep up, you’re left behind. They were among the first to drop the disk drive, and they been much more efficient in moving their user base to the current version of their OSX (not quite like Microsoft, which seem to have a hard time getting their users on to Vista).
a
I’m afraid they’ll announce that the next version of OS X – the 10.6 – is Intel-only – leaving my PowerG5 behind. It doesn’t feel like an old nor slow machine, but once Apple decided it’s too old – it really doesn’t matter – and I better start saving some cash for a new Mac.

Got Mac?

Yes I do. It’s been some months since I decided to go for a Mac, but my home office is power by a hardware monster from Cupertino – a PowerMac with to G5 cpus. I do belive I made new record from “computer in box” to the “computer fully patched and ready” – less than 2 hours (Windows XP average: 10+ hours). I probably still need a few tools and applications to be fully operational, but so far it just rocks. Mac – Go get it.

Apple keynote MacWorld SF2005

Apple choose not to do a live feed from Jobs keynote at MacWorld SanFran this time, but with a little delay it’s available online. Some surprises was spoiled ahead, but there was a number of cool introductions – The Mac OS X Tiger, iPod Shuffle (flash player), Mac Mini (headless computer), iWork (office-like suite) and an update to iLife (Moives, Photos and more). I’m still looking for PowerBook updates though. Where are they?