Thursday, July 16, 2009

begin 644


So my sister got a broken attachment so I did a little internet searching and found this to decode it

Save the file as a .mim and then use a right click decode.

Backing up your MediaWiki Appliance is Easy

First log into your mediawiki appliance.

To do this you need to go to your https://yourserver:8003

(Notice the https)

Next, go to the Back Up and Restore and then go to Backup Settings. Enable your backups. For backup location I choose to use a 'Windows' File System Share.

Then for connection host use your server, and then for your connection path you need to use forward slash notation.

Wednesday, July 15, 2009

MCS v.3.6 initialized Java error IBM RSA Card remoting in

First I used a Virtual Machine to connect to it (its default address is

But for the life of me I couldn't connect after hardcoding the address. That is until I noticed the DHCP setting was

'Try DHCP server. If it fails, use static IP config'

Which is not what I wanted, I set it to 'Disabled - Use static IP configuration' and then I could connect, joy!

Then my next annoyance was trying to get the remote control to work.

Got the below error

MCS v.3.6 initialized
Initializing RemoteDisk v2.2
Connected via socket: Socket[addr=/,port=2000,localport=18428]
at mcsClient.Row.isValid(Unknown Source)
at java.awt.Component.invalidateIfValid(Unknown Source)
at java.awt.Component.setLocale(Unknown Source)
at javax.swing.JComponent.(Unknown Source)
at javax.swing.JPanel.(Unknown Source)
at javax.swing.JPanel.(Unknown Source)
at javax.swing.JPanel.(Unknown Source)
at mcsClient.Row.(Unknown Source)
at mcsClient.Options.(Unknown Source)
at mcsClient.McsToolBar.(Unknown Source)
at mcsClient.McsClient.begin(Unknown Source)
at mcsClient.McsClient.init(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$ Source)
at Source)
Exception: java.lang.NullPointerException

With some searching found out that I needed to downgrade my java version. Java 6 update 13 doesn't work. Java 5 update 11 does

Friday, October 05, 2007

PDF Signing, tell me the ways

So normally if you want to sign a PDF you have to get yourself an expensive copy of Adobe. But I was amazed at how many alternatives there are.

This quick little Java app works well

Usage like so
  java -jar SignPDF.jar
--certfile=my_cert.p12 --password=secret
--output=signed.pdf origineel.pdf

Another cool one is this c# project that uses itextsharp located here

Another is this great open source sourceforge project,
in a jiffy this portable signer is probably the fastest!

Thursday, September 06, 2007

m-e-c as2 quickstart

This is my quick little quick start guide for setting a quick little test enivronment between two computers. The software is easy to setup but

does contain a few little gotchas!

Here we go...

Download and install
Also grab yourself a copy of portecle

Run portecle on computer A and open up c:\mec\as2\certificates.p12 (this p12 file contains all of your keys and certs for mec)

Now you want to create a new keypair. So go to tools, generate key pair.

Gotcha # 1 you need to select RSA (it defaults to DSA, do NOT use DSA)

Create a certificate with Validity of 1000 and then fill in A's for everything except for country put AA.
Set the Alias to A

Ok, now you have your keypair, next you need to export your public cert to use on your other computer B. Right click your A key and then go

export. The defaults (Head Certificate and DER Encoded) are fine. Save this as A.CER and copy it over to computer B

Do this same exact process on computer B, exporting B to create a B.CER and copy it over to computer A.

Now you need to bring the public key of computer A into computer B, and the public key of computer B into computer A. In portecle click tools,

and then import trusted certificate. On computer A locate B.CER and click yes that you trust it. On Computer B locate A.CER and click yes that

you trust it.

Ok now we will configure the partners inside of M-e-c. Go to your computer A and click the partners tab. Delete the mendolson test partner.

Click the mycompany and the under misc tab change name to A and AS2 id change to AAS2. Under security tab use the drop down to select the

certificate alias of A. (If it doesn't show up then hit the reload keystore on the main screen, or maybe you need to try again on the steps

above to create the A public key)

Under MDN tab change the url to match your computer. Lets say computer A is
Check that the local station check box is checked.

Now that our local A station is configured we want to configure our partner B. Click new. Change the name to B and the AS2 id to BAS2. Under security click the drop down and select the certificate alias of B, notice that this is not a key symbol but a postcard like symbol. Under send we will put the address of our B computer. Lets pretend it is

Do this same process on computer B to configure the local station A and also the partner B. Now you should be ready to transfer a test file!

First create a test file, you can name it ASDF.txt. Now place this file in the outgoing directory on your server. If we were on server A this would be located in c:\mec\as2\messages\B\outbox drop the file here and you should see it transfer over to the other machine as well as recieve an MDN.

GOTCHA #2 do not have a space in the name of your file, if you have a space the file will not send!!!!! I consider this a bug!

Hope this little quick start guide helps someone out!


Wednesday, August 01, 2007

Process Update: Calendar

We had an interesting process here at National where a front desk person would take a screen shot of the public calendar and then email it out to a group. I first I was floored by how silly it was but then with a little convicing I learned that on a mobile device it was useful to see who was in the office or on vacation etc...

But still the image would be quite big, so I did some digging on how to pull information from the public calendar and wrote a script to email this out every morning! Script here

Wednesday, July 18, 2007


So started messing with Qcheck for some Lan/Wan speed checks. Should be fun...

Btw direct link to the silly prog is here

Wednesday, May 30, 2007

Server Reboot

Had to finally reboot our file server, it was the record winner of the office with about two years and a half uptime! Of course when I rebooted it at 5:00am I wasn't expecting any corrupt directories :-( grr so I got to drive in at 5:00 this morning!