Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 18th, 2006, 07:42 AM
Registered User
 
Join Date: Apr 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default ClickOnce Deployment - Code Signing - Certificate

Hello

Im having problems with code signing, 1st "File Download - Security Warning" on run of setup.exe, 2nd "Internet Explorer - Security Warning" (pic below) i'll supply all my details and pics below and hope someone can help with why this is not working, i think it could have something to do with the type of certificate on registration, but im new to this.

http://members.westnet.com.au/microsoft1/images/1a.gif

OK

I go here for free Digital Certificate from trusted root publisher, you need to register first.
http://www.ascertia.com/onlineCA/Issuer/CerIssue.aspx

This is what kind of certificate i choose (below pic), i have tried some of the other types as well.

Microsoft Base Cryptographic provider
Microsoft Enhanced cryptographic provider
Microsoft Strong Cryptographic provider
More types with details listed here
http://support.microsoft.com/default...;EN-US;q290112

http://members.westnet.com.au/microsoft1/images/1.gif

Now i copy it all and save it lets say Some-Certificate.pb7 then click on it and install the certificate to below pic

http://members.westnet.com.au/microsoft1/images/2.gif

Ok

I then export the certificate with the private keys, and have selected ticked box for "Include all certificates in the certificate path if possible" & "Enable strong protection(requires IE 5.0, NT 4.0 SP4 or above". Then choose a password, some-file-name.pfx. Then select my cert in vs 2005 (Select from Store) like below and then "Select from File" and choose file some-file-name.pfx.

http://members.westnet.com.au/microsoft1/images/3.gif

On my machine it runs all soothly since my pc has the certificates, but any other users down loading it off the web all get the same security warning before install, there are other publishers that you don't get this warning it smoothly installs, no warnings, any kind of suggestions would really be appreciated, please not to technical, im a noob at this. :D


 
Old April 18th, 2006, 10:01 AM
Registered User
 
Join Date: Apr 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found out the problem ascertia is not in the trusted root, i though it was.

http://www.ascertia.com/onlineCA/Issuer/CerIssue.aspx

I think i'll have a link to download Ascertia Root CA first before the download page http://www.ascertia.com/OnlineCA/cacert.aspx?linkID=40

But this aswell causes a few warnings.

Any other suggestions beside buying one would be good. i dont think there is a way around it, and i aint buying one just to run it on freeware :D








Similar Threads
Thread Thread Starter Forum Replies Last Post
X509 public/private key signing and mmc ZeeKoei General .NET 1 January 23rd, 2008 03:52 AM
ClickOnce Deployment question maxl Pro Visual Basic 2005 3 March 8th, 2007 05:05 PM
certificate c++ programmer johnmontreal C++ Programming 1 November 28th, 2005 12:04 AM
Problem in requesting certificate bhupi_josh BOOK: ASP.NET Website Programming Problem-Design-Solution 0 August 5th, 2005 02:38 AM
does SSL work with out CA signing ? S M Humayun J2EE 1 September 6th, 2004 02:34 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.