We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

Certificate

pedja11
pedja11 asked
on
Medium Priority
1,768 Views
Last Modified: 2008-01-09
I would like to sign .cab file with ActiveX control that will be used on a web page. Therefore, I created certificate on Windows 2003 Server and signed cab with Signtool wizard.
When I try to verify the cab file, the following message appears:
SignTool Error: a certificate chain processed, but terminated in a root certificate which is not trusted by trust provider.

Any solution?

Pedja
Comment
Watch Question

Mnf

Commented:
you have to install the issued certificte in the Trusted Root Certification Authorities.
try this steps
1.   Right-click the certificate file and select Open from the resulting menu. This will display the Properties dialog for the file.
2.   On the Properties dialog, click on the Install Certificate button to start the Certificate Import wizard.
3.   In the wizard, click on the Next button and then choose the Place all certificates in the following store option.
4.   Click on the Browse button to open the Select Certificate Store dialog.
5.   Check the Show physical stores check box to allow you to expand the listed stores.
6.   Expand the Trusted Root Certification Authorities store and select the Local Computer store below it.
7.   Click on the OK button to save your selection
6. Click on the Next and Finish buttons to complete installation of the certificate.

if you are trying to verify the cab file in other pc so do the above steps in the target pc

Author

Commented:
I've done it, but I still get the same message.
Maybe my certificate was not created as it has to be.
Any advice?

Author

Commented:
When I create .cer everything is OK. But then when I create .pvk, with makecert, .cer is changed and than it "can't be verified up to a trusted certification authority"
I need pvk to sign cab. Is it possible to sign it without pvk?
Mnf

Commented:
this i a step by step to signing a .cab file
http://support.microsoft.com/kb/247257/

Author

Commented:
I signed .cab file.
When I open web page with this cab on server where I signed cab, everything works fine, but when I open this page from client, it is Unknown Publisher still.
Mnf

Commented:
this is coz you don't install the cer trusted in it's root
you have to do the steps that i noticed in the first post

Author

Commented:
Maybe this can help you: when I install root certificate from server on client, everything is OK.
Of course, I want to avoid this installation.

Author

Commented:
Didn't help
Top Expert 2007

Commented:
If you don't want users to install the root certificate form you server then you will have to buy and use a certificate issued by a trusted certificate authority. Those root certificates are already added to most browsers by default.
Examples are globalsign, thawte, verisign, ...

J.
Mnf

Commented:
ok just i need to be sure, if you have domain , iis 5 or 6 the sever 2003 is the domain controler or any other domain in your network

if you don't have all this things so you can't avoid that message and you can't do anything (else signe your file with internationl signer http://www.verisign.com/)

Author

Commented:
I do have IIS6 on Server 2003.

Can I sign cab without Verisign or is it the only solution?
Top Expert 2007

Commented:
Using a trusted certificate authority is the only sollution. That's why they are thrusted ;-)
Otherwise anyone could just issue a selfsigned certificate and users would trust the software without being able to verify where it really is originating from.

J.

Author

Commented:
Mnf says something different.
Mnf, I'm waiting for your response.

It makes sense to me. This control should work on web, not only in local network.
Commented:
ooh
you can issue and trust if you have a domain and you work on local aria connection (LAN), so if you have a domian and you have iis and you want to trust the issur so you have to follows the link i gave you, this is only will be true in your domain and local web pages on your server, but if you don't have all this so you can't do this and only international signer will do this

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Top Expert 2007
Commented:
Pedja: Mnf is correct: within your own controlled environment using Active Directory you can go without a trusted authority, but not outside this.
I was asuming that you want this for outside your own domain.

J.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.