Script that will import .p12 cert into the Secure Settings area of the java store
I have tried using the keytool command, but that will only allow me to import the key into the cacerts area. The cert needs to be in the Secure Sites area of the Java store. Can someone assist with a script for the task below?
Environment
Java 1.6.65 - (highest support version by the vendor)
Java install location - program files (x86)
Windows 7 - x64
Steps to manually import the cert:
1. Copy and paste file to your desktop. Change the extension from rename to p12 (once import you can delete it)
2. Go to C:\Program Files (x86)\Java\jre6\bin
3. Open file javacpl.exe
4. In Java Control Panel
a. Click Security tab > Certificates
b. Change Certificate Type to Secure Site
c. If blank, click Import
d. Click file ‘name of cert’ from Desktop and click Open
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Answers (0)
Be the first to answer this question