Site icon WinCert

How to import Java Certificates to the System store

<p><a href&equals;"http&colon;&sol;&sol;wincert&period;net&sol;wp-content&sol;uploads&sol;2015&sol;01&sol;microsoft-windows&period;jpg"><img class&equals;"alignnone size-full wp-image-517" src&equals;"http&colon;&sol;&sol;wincert&period;net&sol;wp-content&sol;uploads&sol;2015&sol;01&sol;microsoft-windows&period;jpg" alt&equals;"microsoft windows" width&equals;"720" height&equals;"340" &sol;><&sol;a><&sol;p>&NewLine;<p>If you ever had the need to import Java certificates to the System store&comma; you might find it difficult because when you wanted to do that you could see that the Import button for the System store has been grayed out&period;<&sol;p>&NewLine;<p>To achieve this here&&num;8217&semi;s what has to be done&colon;<&sol;p>&NewLine;<p>Open Java Control panel through Windows Control Panel or in the run prompt type the following command&colon;<&sol;p>&NewLine;<p><strong>javaws -viewer<&sol;strong><&sol;p>&NewLine;<p>Close the first popup&sol;cache info screen and on the <span style&equals;"color&colon; &num;003366&semi;">Security tab<&sol;span> click on the <span style&equals;"color&colon; &num;003366&semi;">Certificates<&sol;span> button&period;<&sol;p>&NewLine;<p><&excl;--more--><&sol;p>&NewLine;<p><span style&equals;"line-height&colon; 1&period;3em&semi;">Import certificates under the User store by clicking the import button&period;<&sol;span><&sol;p>&NewLine;<p>Once you have imported all of the certificates create the following folders&colon;<&sol;p>&NewLine;<p><strong>C&colon;&bsol;Windows&bsol;Sun&bsol;Java&bsol;Deployment<&sol;strong><&sol;p>&NewLine;<p>In this location&comma; we should copy all of the certificates that were previously imported in the User store using Java Control panel&period;<&sol;p>&NewLine;<p>Along with that we should create two files&colon;<&sol;p>&NewLine;<p><strong>deployment&period;config<&sol;strong><br &sol;>&NewLine;<strong> deployment&period;properties<&sol;strong><&sol;p>&NewLine;<p>Open <strong>deployment&period;config<&sol;strong> file in notepad and insert the following line&colon;<&sol;p>&NewLine;<p><strong>deployment&period;system&period;config&equals;file&bsol;&colon;<&sol;strong><br &sol;>&NewLine;<strong> C&bsol;&colon;&sol;Windows&sol;Sun&sol;Java&sol;Deployment&sol;deployment&period;properties<&sol;strong><&sol;p>&NewLine;<p>Open <strong>deployment&period;properties<&sol;strong> file in notepad and insert the following line&colon;<&sol;p>&NewLine;<p><strong>deployment&period;system&period;security&period;trusted&period;certs&equals;<&sol;strong><br &sol;>&NewLine;<strong>C&bsol;&colon;&bsol;&bsol;Windows&bsol;&bsol;Sun&bsol;&bsol;Java&bsol;&bsol;Deployment&bsol;&bsol;trusted&period;certs<&sol;strong><&sol;p>&NewLine;<p>Now&comma; we should navigate to this path&colon;<&sol;p>&NewLine;<p><strong>C&colon;&bsol;Users&bsol;&percnt;userprofile&percnt;&bsol;AppData&bsol;LocalLow&bsol;Sun&bsol;Java&bsol;Deployment&bsol;security<&sol;strong><&sol;p>&NewLine;<p>Where you should replace <strong>&percnt;userprofile&percnt;<&sol;strong> with your username&period;<&sol;p>&NewLine;<p>Copy the <strong>trusted&period;certs<&sol;strong> file from<&sol;p>&NewLine;<p><strong>C&colon;&bsol;Users&bsol;&percnt;userprofile&percnt;&bsol;AppData&bsol;LocalLow&bsol;Sun&bsol;Java&bsol;Deployment&bsol;security<&sol;strong><&sol;p>&NewLine;<p>to<&sol;p>&NewLine;<p><strong>C&colon;&bsol;Windows&bsol;Sun&bsol;Java&bsol;Deployment<&sol;strong><&sol;p>&NewLine;<p>You&&num;8217&semi;re done&period;<&sol;p>&NewLine;<p>Imported certificates should be now visible under System store in Java Control Panel and should be in use for each user that logs on that Server&period;<&sol;p>&NewLine;<p>You can also use exception&period;sites list in the same way by copying the exception&period;sites file from <strong>C&colon;&bsol;Users&bsol;&percnt;userprofile&percnt;&bsol;AppData&bsol;LocalLow&bsol;Sun&bsol;Java&bsol;Deployment&bsol;security<&sol;strong><&sol;p>&NewLine;<p>to <strong>C&colon;&bsol;Windows&bsol;Sun&bsol;Java&bsol;Deployment<&sol;strong><&sol;p>&NewLine;<p>Now add the following line to <strong>deployment&period;properties<&sol;strong> file using Notepad&colon;<&sol;p>&NewLine;<p><strong>deployment&period;user&period;security&period;exception&period;sites<br &sol;>&NewLine;&equals;C&bsol;&colon;&bsol;&bsol;Windows&bsol;&bsol;Sun&bsol;&bsol;Java&bsol;&bsol;Deployment&bsol;&bsol;exception&period;sites<&sol;strong><&sol;p>&NewLine;

Exit mobile version