Posts filed under Annoying

Mozilla's Firefox Invalid, Yet Valid Certificate

In my line of work I get to work with a lot of security devices which run self-signed certificates. Those certificates are most of the time generated when the device / appliance is installed, or configured for the very first time. When you connect to one of those devices with a web browser, you tend to see the warnings displayed by the browser that the connection is not to be trusted.

In Firefox, you can add an exception in the browser. When you've done that, the next time you go to the website, the browsers treats the website as trusted.

Posted on April 1, 2012 and filed under Annoying, Browsers, Tips'n Tricks.

Screen Capture Can't Be Saved

After upgrading my iMac to OS X Lion (10.7) everything works (or at least seems to work), until I tried to do a screen capture with the built-in tools.

Things that worked:

  • Capturing the entire desktop to file
  • Capturing a selection (using the cross-hair) to file
  • Capturing the entire desktop to the clipboard
  • Capturing a selection (using the cross-hair) to the clipboard

Things that didn't work:

  • Capturing entire windows to file or the clipboard (SHIFT-COMMAND-4 + SPACE / SHIFT-COMMAND-3 + SPACE)

All I got was a weird notification box with the message:

Screen capture can't be saved

The console application also showed an error message:

12/16/11 1:40:08.762  com.apple.SystemUIServer.agent: screencapture could not capture window 3c

Lurking around the Interwebs, I found this seem to occur after an upgrade of the OS, but real solutions are hard to come by.

This is what I did to solve my problem:

  • Remove the screencapture PLIST (preferences) file (~/Library/Preferences/com.apple.screencapture.plist)
  • Copy a com.apple.screencapture.plist file from a working OS X Lion environment and place it in the correct location on the troubled OS X installation.

That seemed to result in two com.apple.screencapture.plist files (one with an additional extension of .locked). I removed the .locked file, rebooted the iMac, and screen capture worked again.

I must mention that I didn't see the .locked file initially. Could be that it existed before. In which case I probably did more than was required to get things fixed....

Posted on December 16, 2011 and filed under Annoying, Apple, Operating Systems, Tips'n Tricks.

Unable to Upgrade Firefox on OS X

Today I tried to upgrade Firefox 5.0.1 on my iMac to version Firefox 6, but it failed with some 'weird' error;

The operation can't be completed because the item libsmime3.dylib" is in use.

Weird because I didn't have FireFox running at the time. Removing Firefox didn't work either, since I couldn't remove it from the Trash (same error).

Turned out that I had the Cisco AnyConnect VPN installed on my system (process name: vpnagentd). To 'unload' this process enter the following in Terminal:

sudo launchctl unload /Library/LaunchDaemons/com.cisco.anyconnect.vpnagentd.plist

Install Firefox, and enable the vpnagent again by entering the following in Terminal:

sudo launchctl load /Library/LaunchDaemons/com.cisco.anyconnect.vpnagentd.plist

And all should be well.

Posted on August 15, 2011 and filed under Annoying, Browsers, Software, Tips'n Tricks.

Microsoft Internet Explorer and IP Addresses in Certificate SAN

A fairy long title, but it describes exactly what this post is about. Once again a post about a Microsoft product and the way it works (or rather doesn't work) with your average Internet standard.

This week I was busy with RADIUS, 802.1x, PKI and the protection of websites with SSL encryption. For the implementation of 802.1x, I needed a PKI environment, so I used the Microsoft Certificate Services for that purpose. Along the way, I needed an SSL certificate for an internal website, but this particular website needed to work properly based on different FQDN's and or IP addresses without throwing warining or errors regarding the SSL connection.

The way to do this is to add Subject Alternative Names (SAN) to the certificate. This enables you to access the website in different ways, e.g.;

  • Access a webmail host from the internet based on its official FQDN (https://webmail.somedomain.com)
  • Access the same webmail host from the inside of the corporate lan based on its internal name (https://webmail.acme.local)
  • And access the host from legacy DNS-unaware software on its IP address (https://192.168.1.254)

Google Apps Harassment / Spam

My mailbox receives e-mails from Google on a daily basis. All these e-mails are regarding the 'upgrade' of MY Google Apps account. The problem is, I don't have a Google Apps account. I have a Google Analytics account for some of my websites (this being one of them).

At first they say you have an account.

Google Apps Spam

And when you try to login to that account, they say that I don't have an account.

So explain this; why do I get upgrade e-mails for something I don't have?

A typical example of using existing database information for luring people into getting other services.

Posted on April 22, 2011 and filed under Annoying, Internet, Personal.

AVN Fritzbox and the 'Exposed Host' Setting

The Fritzbox 7340 is the only real available VDSL modem/router in the Netherlands. Too bad, since it has some bugs (but what piece of software hasn't???). Fortunately, the router works well, just as long as you use it as the only networking device in your (small) network.

In the last couple of days I've been busy to add the Juniper SRX100 branch firewall to my local home network. The idea was the following:

  • The Fritzbox (FB) will remain the Internet router
  • My web/mail/ssh server is placed behind the SRX100
  • All the individual portforward rules in the Fritzbox are directed to the SRX100 by selecting the 'Exposed Host' in the FB.
Posted on March 11, 2011 and filed under Annoying, Hardware, Internet, Security, Tips'n Tricks.

Enable Juniper SRX Firewall Logging

Juniper started to migrate their firewalls from Netscreen to the Junos environment 'a couple of' months back. The advantage is that there's a universal OS for routers, switches and firewalls. Just like Cisco IOS. The disadvantage is that the Junos OS is being adapted for the firewalls. So the foundations are there, but there are still lots of features missing and bugs are also still abundant.

The bugs are thankfully mostly related to the WebGUI. On the commandlinethe bugs are in the same league as the Cisco, Checkpoint and every other vendor bugs. No piece of software is perfect.

Posted on March 1, 2011 and filed under Annoying, Hardware, Security, Tips'n Tricks, Junos.

Lousy Adobe Reader 10.0.1 Update

Earlier this week I got the announcement (I opened an Adobe application) that there was an update for the Adobe Reader app. Security-conscious as I am, I fired up the update process.

Each time, this process stopped at the (near??) end of the installation with the following error:

The operation couldn’t be completed. (com.adobe.ARM error 1807.)

The error also suggested looking at the log file. Examination of this file showed nothing out of the ordinary. At least not that made sense to me.
There were some lines in the log that made me try to do a work-around (in bold);

Posted on February 9, 2011 and filed under Annoying, Apple, Software, Tips'n Tricks.

PGP Services Menu Integration

During the clean-up of my personal data on my Mac's, I found several PGP encrypted containers, and encrypted files. To see what was stored in them, I needed to install PGP (again).

After installing the software I dug up my keyrings and everything worked fine, until I tried to encrypt an e-mail. In the old days you had a button for encrypting the body of an e-mail message, but today things have changed. PGP is using some sort of (local) proxy to encrypt, decrypt, sign and verify e-mail messages. BUT there's also the possibility to do this with text on the clipboard, or text you selected with your mouse/keyboard.

This is where I ran into some missing functionality; Normally the PGP actions are visible under the 'right-mouse' click -> Services, but no PGP actions available. Further investigation showed that no PGP actions were available on (plain) text in editors. PGP actions on entire files were no problem.

Posted on February 5, 2011 and filed under Annoying, Security, Software, Tips'n Tricks.

Weird 802.1x EAP-TLS Behavior with Windows XP SP3

I'm currently busy with several 802.1x implementations in corporate networks, and in one of those environment I get the strangest behavior in regards to the authentication process.

In this particular case I use a Microsoft 2008 Active Directory. Mandatory for distributing the wired network adapter settings in regards to 802.1x. The clients are a mix of Windows XP (SP1 and SP3) clients and some newer and/or exotic operating systems. The authentication mechanism of choice is EAP-TLS with dynamic VLAN assignment. The RADIUS server used is the Cisco Secure ACS v5.x appliance.

During the authentication process of the XP SP3 PC's I saw that the first authentication attempt was made with the PEAP mechanism. Since PEAP isn't allowed, the authentication mechanism failed. About a minute and twenty seconds later the PC started another dot1x authentication sequence. This time using EAP-TLS, and the PC got access to the network.

Posted on January 29, 2011 and filed under Annoying, Operating Systems, Security.