Solved

How can I install a .pfx ssl certificate so that all users in a citrix / terminal services environment have access to it?

Posted on 2009-07-15
10
8,948 Views
Last Modified: 2013-12-08
Hello all. I need to install a .pfx certificate for all users. The
problem: when I install it, it is only available for the user who
installed, not for the rest.

Can this be done installing the .pfx one time only, or do I have to
install the same certificate for EVERY user??? If so, any ideas about how
can I automate the installation of the certificate for every user?

The environtment is W2K3-SP2, CPS4.5.
0
Comment
Question by:ppsdit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
10 Comments
 
LVL 14

Accepted Solution

by:
amichaell earned 250 total points
ID: 24868644
We use certutil to import our certificate.  We're doing a .cer, though you should be able to do a .pfx as well.  Upon user logon a batch file executes with the command below.  

c:\certutil\certutil.exe -addstore root c:\certutil\svcert.cer

You'll need to modify the paths at the least.
0
 
LVL 36

Assisted Solution

by:Carl Webster
Carl Webster earned 250 total points
ID: 24868656
Follow these instructions to import the .pfx file

open mmc, (start>run>mmc) and open the certificates snap in.

Select "local computer account" when prompted

You will then see on the left, certificates, please select the "personal" folder.

Right click the "personal" folder and select all "tasks>Import"

Find the .pfx file you saved previously and import the certificate and private key into the MMC
0
 

Author Comment

by:ppsdit
ID: 24871543
Carl, Thank you for your insight.  I am a bit confused however, where are you suggesting that I run this procedure?  On each citrix server?  Would that be available for all users?

Thanks
0
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 
LVL 36

Expert Comment

by:Carl Webster
ID: 24871639
Yes, on each Citrix server.  Since you are using the local computer it _should_ install for all users.  I have seen other Citrix foum postings that say this will need to be done for every user.
0
 

Author Comment

by:ppsdit
ID: 24873389
Unfortunately I do not see the cretificate in IE when I install it the way you described, Carl.  And when I go to the site Ithat the cert is for, it says it can't find a certificate.
Any idea why that might be?
0
 

Author Comment

by:ppsdit
ID: 24875249
the following script works perfectly:
c:\windows\system32\certutil -user -p password -importpfx -f \\server\path\cert.pfx
however it only works for local/domain administrators.

When I try running this as a logon script via group policy it does not correctly add the certificate to the personal store of the local user (and there is no enty in the certutil.log file).
When I try running as an admin user it does not seem to add the cert to the personal store.

Any advice would be greatly appreciated.

thanks,
0
 
LVL 36

Assisted Solution

by:Carl Webster
Carl Webster earned 250 total points
ID: 24897964
Try CAPICOM from Microsoft:

http://msdn.microsoft.com/en-us/library/ms995332.aspx

then use the cstore.vbs in a batch file to import the certificate.
0
 
LVL 36

Expert Comment

by:Carl Webster
ID: 24898012
0
 

Author Comment

by:ppsdit
ID: 24928249
Thank you for your suggestions.  In the end, I couldn't spend much more time on this.  The CAPICOM option seems promising but I decided I needed to find a different solution.
This is what I did:
I downloaded a fully encpsulated thinapp version of firefox from thindownload.com
I am easily able to manually add the certificates to each users' profile in firefox (I was able to do so in IE but the page would not display properly).  I have not yet figured out how to do so with a script but since I was just going to publish that thinapp via citrix to about a dozen users, so I did it manually this time.  Thank you for all your help.

0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OnPage: Incident management and secure messaging on your smartphone
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

730 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