Sunday, 30 June 2013

Installing AWS Toolkit For Eclipse (Eclipse v3.8)

I found a couple of pre-requisites for installing AWS SDK for Eclipse 3.8.
Just add the following as software update sources for Eclipse (Help > Install new software...)

Android SDK Plugin for Eclipse:
https://dl-ssl.google.com/android/eclipse/

Data Tools Plaftorm Enablement Extender SDK:
http://download.eclipse.org/releases/indigo/

You can then install AWS Toolkit for Eclipse:
http://aws.amazon.com/eclipse/

Saturday, 22 June 2013

Can't connect facebook to online accounts in 13.04 - Ask Ubuntu

Looks like Facebook are pushing external messaging clients to a non-https page for authentication - Not good!

As a workaround, you can add the following line:
<setting name="AllowedSchemes" type="as">['https','http']</setting>

To the file:
/usr/share/accounts/providers/facebook.provider

I suggest you save a copy of the original file first as any small typo will break it forever.

My file now looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<provider id="facebook">
<name>Facebook</name>
<icon>facebook</icon>
<translations>account-plugins</translations>
<domains>.*facebook\.com</domains>
<plugin>generic-oauth</plugin>
<template>
  <group name="auth">
  <setting name="method">oauth2</setting>
  <setting name="mechanism">user_agent</setting>
    <group name="oauth2">
      <group name="user_agent">
      <setting name="Host">www.facebook.com</setting>
      <setting name="AuthPath">/dialog/oauth</setting>
      <setting name="RedirectUri">https://www.facebook.com/connect/login_success.html</setting>
      <setting name="Display">popup</setting>
      <setting type="as" name="Scope">['publish_stream','read_stream','status_update','user_photos','friends_photos','xmpp_login']</setting>
      <setting name="ClientId">302061903208115</setting>
      <setting name="AllowedSchemes" type="as">['https','http']</setting>
      </group>
    </group>
  </group>
</template>
</provider>


Kudos to Ankit Shah at:
Can't connect facebook to online accounts in 13.04 - Ask Ubuntu:

Not really a long term answer, Facebook need to sort it!

'via Blog this'

Wednesday, 19 June 2013

Internet Explorer 9 Navigation blocked due to invalid certificate 1024 bit

Had a problem where IE9 would not open a web page, whereas IE10 would. Web page is the management site for an HP StorOnce B6200 appliance.

Looks like the StorOnce appliance is using a 1024 bit public key, and IE9 doesn't like this. The certificate is self signed, and you get the normal error, but the "Continue to this website (not recommended)." link is not available:


I did some Googling and found this.

I ran certutil -setreg chain\EnableWeakSignatureFlags 8.

I didn't have to reboot, just logged out and in, and the Web page changed:


I will investigate a longterm fix of adding a proper certificate (we have internal certificate servers) or public certificate. I'll also approach HP about icreasing the public key length from 1024 to 2048 bits.