Friday, June 17, 2011

Using Client Certificate with SoapUI

After hunting around on this process a bit myself I've ironed out the details so you don't have to. 

Important notes for importing your certificate:
Double click the client certificate
Click Next on the Import Wizard
Click Next on the file import screen
Type your private key password
Check the "Mark this key as exportable. This will allow you to back up or transport your keys at a later time." checkbox.
Click Next
Click Include all extended properties
Click Next
Click Next to Automatically select the certificate store
Click Finish
Click OK on the Import confirmation dialog

Next export your client certificate so it can be used by SoapUI

Export your client Certificate
Click Start
Type MMC and press enter
Click File and select add/remove snap-in
Select certificates from the Available snap-ins column
Click Add
Select My User Account
Click Finish
Click OK on the Add or Remove Snap-ins window
Expand Certificates - Current User
Expand Personal
Click Certificates
Select the desired certificate
Right Click the certificate and select All Tasks
Click Export
Click Next on the Welcome screen
Click Yes, Export the private key
Click Next
Click Personal Information Exchange - PKCS #12 
Check Include all certificates in the certifcation path if possible.
Check Delete the private key if the export is sucessful
Click Next
Enter the cert password
Enter the cert password (password confirmation)
Click next
Select a name and location for the cert to be saved
Click save
Click Next
Click Finish
Click ok on the Confirmation dialog

Next set your SoapUI Configuration file
Open "C:\Program Files\eviware\soapUI-3.6.1\bin\soapUI-3.6.1.vmoptions" in a text editor
Add the follow line the end of the file
'-Dsun.security.ssl.allowUnsafeRenegotiation=true'
Save the file

Open SoapUI
Expand the File Menu
Select Preferences
Click SSL Settings
Set the following settings:
keystore: path to your certificate
password:
self explanatory
Check the 'Require client authentication' box
Click OK

That's all that's to it! Create a new project with your webservice and test away!

Thursday, June 9, 2011

Mecury Quality Center 9 & Internet Explorer 8.0

Anyone spending any time frustrated with Quality Center understands the corporate hesitation in the exorbitant expense of Quality Center 10 and the lack of support for any browser beyond Internet Explorer 7 in Quality Center 9.  In attempt to put a rest to your futile efforts clicking search result after search result I have compiled my research into one location.
 
Internet Explorer 7.0 is the latest browser supported by Quality Center 9.0. Therefore it is necessary to utilize compatibility mode as well as modify security settings in Internet Explorer 8.0 for the application to function properly.

  1. Launch IE 8 
  2. Expand  the Tools menu 
  3. Click Compatibility View Settings 
  4. Uncheck Display intranet sites in Compatibility View if checked. 
  5. Enter <YOUR MERC SERVER> into the Add this website edit box 
  6. Click Add 
  7.  Click Close
    (
    You should now be prompted to Install Mercury Quality Center 9.0
    If so skip to step 17.)
  8. Expand the Tools menu again
  9. Click Internet Options
  10. Click Internet Options
  11. Click the Advanced Tab
  12. Locate the Security Section
  13. Click Reset to Reset IE’s settings to their default condition.
  14. Click OK
  15. Restart Internet Explorer
  16. Navigate to your Mercury Quality Center url. 
  17. Click Install to install Mercury Quality Center 9.0 
Option 2 (If persistent issues with IE8 or the above fails to install Quality Center):

  1. Download the Quality Center Explorer from ftp://ftp.itrc.hp.com/applications/qualitycenter/qc90/others/qcexplorer/QCExplorerAddIn.exe
  2. When prompted to save QCExplorerAddIn.exe click Run
  3. Accept the default installation directory
  4. Click Next
  5. Click Start
  6. Click All Programs
  7. Expand Quality Center
  8. Click QC Explorer
  9.  In the Address bar enter the address to our Mercury Quality Center instance 
  10. Click Go     
 After all necessary components are downloaded you will be prompted for your login credentials.

Enjoy! Keep on Nerdin'

Sunday, June 5, 2011

Proform XP 615 Trainer treadmill calibration

The Proform XP 615 Treadmill project started a couple months ago. With the wife back in school I had to come up with some way to continue a running routine whilst not being a neglectful parent. Being a firm believer in: There's someone, somewhere, that bought it, let it collect dust, and is willing to practically give it away. I began a brief search for that individual. I found her at a garage sale, seven months pregnant, and offering a the profrom 615 for 50 bucks. Inch of dust and 300 miles on it, we took her home (the treadmill, not the pregnant gal). 

After a few runs and re-calibration of my Nike+ sensor, I began the hunt for the calibration procedure for the treadmill. So you don't have to here it is:


Calibrating the Proform XP 615 Trainer Treadmill

Follow these steps to calibrate your Proform XP series treadmill.
WARNING: DO NOT STAND ON THE TREADMILL BELT
  1. Remove the Motor Cover by removing the three screws on the front of the unit. 
  2. Locate the MAX SPD potentiometer (pot) on the motor control board. This is the board the red and black motor wires connect to. The MAX SPD pot should be labeled. Mine wasn't however, there is only one potentiometer on the board. It is a small square box that has a phillips head on it.
  3. Press and Hold the STOP and SPEED UP button while inserting the safety key.
  4. Press SPEED UP button to display setting (See Calibration sheet below) Your concern here is the SPD - Maximum Speed setting (default may be 10)
  5. Press the STOP button to advance to Level 2 Calibration Mode
  6. Press the the INCLINE UP button to begin incline calibration (this calibration is automatic)
  7. Press and hold the SPEED UP button until the distance window displays 85%. (The actual speed will be displayed) 
  8. Press the SPEED DOWN button and allow the treadmill to stop
  9. Using a small insulated screwdriver adjust the potentiometer clockwise to speed up and counter-clockwise to slow down the max speed of the treadmill. A tiny turn of this potentiometer will make a huge difference in speed, so use care when making adjustments.
  10. Complete steps 3, 5 then 7 - 9 to adjust the speed as necessary.
    It is not important to get the speed set exactly at the max speed of the treadmill but do make sure to get the speed within .2 MPH of the max speed of the treadmill.
  11. Press SPEED DOWN to complete the calibration.
  12. Press the Stop key once and remove the safety key.
ProformXP615 Manual


Calibration Mode

Talking Nerd

Ok so after a long sabbatical from blogging, tweeting, and posting random useless junk on a website. I have finally decided to begin to document what the wife refers to as 'talking nerd'. Typically derived from a project, that led to a web search, that led to another, that led to a link, a document and a process to complete some task that someone failed to simply put in one place. That's the beauty of the internet. Everything you need scattered over thousands of sites and if your good a puzzles you can get it together.

Welcome to the birth of 'Talking Nerd with Woody'.