ClickOnce Deployments

February 10th, 2010 by gareth

I’ve been pulling my hair out all day trying to figure this out so I thought I’d place it on my blog as a convenient place for other Visual Studio users and myself for next time!

Assumptions
I will assume you have your app build and now ready to release it to your internal corporate network and you have access to a server for deploying your software.

Requirement – OpenSSL
Download and install OpenSSL from here – http://www.slproweb.com/products/Win32OpenSSL.html

Steps
I installed OpenSSL to C:\Program Files\OpenSSL, opening a command prompt window, navigate there and then to the bin directory.

C:\Users\Gareth Evans>cd "C:\Program Files\OpenSSL\"
C:\Program Files\OpenSSL>cd bin
C:\Program Files\OpenSSL\bin>

Run:
openssl genrsa -out ca.key 4096

To generate a private key for the Certificate Authority (CA).

Run:
openssl req -new -x509 -days 1826 -key ca.key -out ca.crt

To generate a public key for the CA.

Note: Whatever you enter for “Common Name (eg, YOUR name) []:” will become the NAME of the Certificate Provider.

Enter as much or as little information/details as you want or need.

So we’ve created a CA certificate now, we need to create a sub certificate.

Run:
openssl req -new -key ia.key -out ia.csr

Again Note: Whatever you enter for “Common Name (eg, YOUR name) []:” will become the NAME of the Certificate Provider. Remember to call this something different to the CA Common Name.

Run:
openssl x509 -req -days 730 -in ia.csr -CA ca.crt -CAkey ca.key -set_serial 01 -out ia.crt

Run:
openssl pkcs12 -export -out ia.p12 -inkey ia.key -in ia.crt -chain -CAfile ca.crt

Run:
openssl pkcs12 -export -out ia.p12 -inkey ia.key -in ia.crt -chain -CAfile ca.crt -keysig

Open CA.crt
Install Certificate
Put Certificate in “Trusted Root Certification Authority”

Open certificate.crt
Install Certificate
SAVE PRIVATE KEYS – see Fig 1
Put Certificate in “Personal”

Back to Visual Studio now, select the Startup Project, Right Click, Select Properties.

Within the Signing tab (left hand side), Tick “Sign the ClickOnce manifest”, Click “Select from Store”, select your certificate.

Select the Publish tab, Set the Publish Folder Location and Installation Folder URL and click Publish.

Deploy CA.crt to domain Computers, placing Cert in “Trusted Root Certification Authority”

Verify the ClickOnce deployment.


Figure 1

ACL Editor and Simulator v2.0

May 15th, 2009 by gareth

More details are HERE

..and yes I know, two posts on my blog in search a short time! *shock horror* lol

My once yearly post on my blog – 2009.

May 12th, 2009 by gareth

Website
I think its time for a revamp/redesign….XHTML, CSS and jQuery….ASP.NET would be nice but my web hosting doesn’t support it (otherwise I would of moved to N2CMS – been playing with this in work lately)

ACL Editor
Version 2.0 has, I repeat HAS started development…finally! The new version of the editor is being developed using a addon architecture so a developer can create their own addon which will then hook into the core of the editor.

Screen shots to come soon.

Anybody interested in BETA testing this please feel free to get in touch in the usual manner.

New House
Me and Suzanne moved into our little house in November last year.

Any other business!
I still check my emails on this domain a minimum of 10 times a day – so your emails do get answered!

Update on a few things

June 20th, 2008 by gareth

Server Move
The site has now been moved to a new web server as I’ve paid for a reseller web hosting package.

Web Hosting
Ive paid for a reseller web hosting package and now offering web hosting packages, initially targetting the multimedia students who need web space for their second/third year projects.

[Edit]http://www.ewales.info

Job
After finishing my BSc Computer Networks degree in the Summer 2007, I started a Higher/Further Education Teacher Training in the same University. After wasting 3 months of my life doing this I decided it wasnt for me during the Christmas holidays so started looking for full-time employment.

So after a few interviews and companies letting me down I finally started working full-time for an IT Solutions provider (edit: name omitted) in Shrewsbury as a Junior Software Developer in March 2008.

Day to day tasks include digging into the software they develop to replicate bugs that have been reported by end users, which sometimes mean I could be playing with SSIS Package, SQL Server 2000 or SQL Server 2005 or a front end fix which means I would use C#.NET.

ACL Editor and Simulator
Sales of the Editor are going well, currently with no advertising of the application and leaving Google to its own devices and word of mouth, Im quite happy with its progress. I currently haven’t been able to find any time to add features or even make a start on the project “ACL Import” which would import current ACLs into the Editor. Maybe some wet weekend I will don’t worry!

Home Network
Unfortunatley the Home Network is no more, because my parents have decided to move house, which means my 42U Rack is up for grabs if you can pick it up from Anglesey, North Wales you can have it.

Llangollen Diesel Group
Currently the LDG have all their mainline diesel loco fleet for sale due to many things going on in the background. I cant go into this much at the moment but will put more details online when Im allowed to.

Cisco ACL Editor and Simulator – Version 1.1.0.4

November 21st, 2007 by gareth

Version 1.1.0.4 of the Cisco ACL Editor and Simulator has been released and is online!

Purchase / Registration details available.

30 Day Demo Available FREE!

More Info Here (Including Download Links)

Cisco ACL Editor and Simulator – Version 1.1.0.3

November 19th, 2007 by gareth

Version 1.1.0.3 of the Cisco ACL Editor and Simulator has been released and is online!

Purchase / Registration details available.

30 Day Demo Available FREE!

More Info Here (Including Download Links)

Cisco ACL Editor and Simulator – Version 1.1.0.2

November 14th, 2007 by gareth

Version 1.1.0.2 of the Cisco ACL Editor and Simulator has been released and is online!

Purchase / Registration details available.

30 Day Demo Available FREE!

More Info Here (Including Download Links)

Cisco ACL Editor and Simulator – Version 1.1.0.0

October 29th, 2007 by gareth

Version 1.1.0.0 of the Cisco ACL Editor and Simulator has been released and is online!

Purchase / Registration details available.

30 Day Demo Available FREE!

More Info Here (Including Download Links)

Cisco ACL Editor and Simulator – First Release

July 28th, 2007 by gareth

Yes, my final year project has been released to the world wide web today!

Feedback is welcome and appreciated, good or bad!

30 Day Demo Available FREE!

More Info Here (Including Download Links)

Glyndyfrdwy Landslip Repair

July 12th, 2007 by gareth

Images of the work carried out over 3/4 days. More images will be added tomorrow.

Day 1
http://martinperry807.fotopic.net/c1322944.html

Day 2
http://martinperry807.fotopic.net/c1323658.html

Day 3
http://gallery.garethevans.info/main.php?g2_itemId=1004

« Previous Entries