Tuesday, August 30, 2011

How To Deploy Java Certs to All Users in Citrix or Terminal Server

Some Java app sites require users to accept certificates whenever they go to the site. 
Note:  This modification has to be done on a per site basis – every Java app site that users go to. 
1 – Go to the java app site.
2 – When prompted, put a check mark in “Always trust content from this publisher” and click the Yes button.

If you get a digital signature error after acceptance, then put a check mark in the “Always trust content from this publisher” checkbox again and click Run.
After clicking through these prompts, the trusted.certs file located in “%userprofile%\AppData\LocalLow\Sun\Java\Deployment\security” is modified.
3 - Copy the trusted.certs file to the C:\scripts\Java\security folder on the XenApp server.  You can rename any existing trusted.certs files that reside there in case of any need to fall back to the previous one.
Use a logon script that runs for each user to copy that file into each user’s profile as they log on to the server and all the sites\certs referenced in the trusted.certs file will work automatically for the users.

No comments:

Post a Comment