/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Script that will import .p12 cert into the Secure Settings area of the java store

04/22/2015 1270 views

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" />

 

 

0 Comments   [ + ] Show comments

Comments


Be the first to answer this question

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ