Solved

Certificate

Posted on 2006-11-07
16
1,625 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
0
Comment
Question by:pedja11
  • 7
  • 6
  • 3
16 Comments
 
LVL 6

Expert Comment

by:Mnf
Comment Utility
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
0
 

Author Comment

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

Author Comment

by:pedja11
Comment Utility
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?
0
 
LVL 6

Expert Comment

by:Mnf
Comment Utility
this i a step by step to signing a .cab file
http://support.microsoft.com/kb/247257/
0
 

Author Comment

by:pedja11
Comment Utility
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.
0
 
LVL 6

Expert Comment

by:Mnf
Comment Utility
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
0
 

Author Comment

by:pedja11
Comment Utility
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.
0
 
LVL 6

Expert Comment

by:Mnf
Comment Utility
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:pedja11
Comment Utility
Didn't help
0
 
LVL 18

Expert Comment

by:PowerIT
Comment Utility
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.
0
 
LVL 6

Expert Comment

by:Mnf
Comment Utility
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/)
0
 

Author Comment

by:pedja11
Comment Utility
I do have IIS6 on Server 2003.

Can I sign cab without Verisign or is it the only solution?
0
 
LVL 18

Expert Comment

by:PowerIT
Comment Utility
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.
0
 

Author Comment

by:pedja11
Comment Utility
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.
0
 
LVL 6

Accepted Solution

by:
Mnf earned 100 total points
Comment Utility
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
0
 
LVL 18

Assisted Solution

by:PowerIT
PowerIT earned 25 total points
Comment Utility
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.
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Article by: btan
Provide an easy one stop to quickly get the relevant information on common asked question on Ransomware in Expert Exchange.
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now