<p><a href="http://wincert.net/wp-content/uploads/2015/01/microsoft-windows.jpg"><img class="alignnone size-full wp-image-517" src="http://wincert.net/wp-content/uploads/2015/01/microsoft-windows.jpg" alt="microsoft windows" width="720" height="340" /></a></p>
<p>If you ever had the need to import Java certificates to the System store, 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.</p>
<p>To achieve this here&#8217;s what has to be done:</p>
<p>Open Java Control panel through Windows Control Panel or in the run prompt type the following command:</p>
<p><strong>javaws -viewer</strong></p>
<p>Close the first popup/cache info screen and on the <span style="color: #003366;">Security tab</span> click on the <span style="color: #003366;">Certificates</span> button.</p>
<p><!--more--></p>
<p><span style="line-height: 1.3em;">Import certificates under the User store by clicking the import button.</span></p>
<p>Once you have imported all of the certificates create the following folders:</p>
<p><strong>C:\Windows\Sun\Java\Deployment</strong></p>
<p>In this location, we should copy all of the certificates that were previously imported in the User store using Java Control panel.</p>
<p>Along with that we should create two files:</p>
<p><strong>deployment.config</strong><br />
<strong> deployment.properties</strong></p>
<p>Open <strong>deployment.config</strong> file in notepad and insert the following line:</p>
<p><strong>deployment.system.config=file\:</strong><br />
<strong> C\:/Windows/Sun/Java/Deployment/deployment.properties</strong></p>
<p>Open <strong>deployment.properties</strong> file in notepad and insert the following line:</p>
<p><strong>deployment.system.security.trusted.certs=</strong><br />
<strong>C\:\\Windows\\Sun\\Java\\Deployment\\trusted.certs</strong></p>
<p>Now, we should navigate to this path:</p>
<p><strong>C:\Users\%userprofile%\AppData\LocalLow\Sun\Java\Deployment\security</strong></p>
<p>Where you should replace <strong>%userprofile%</strong> with your username.</p>
<p>Copy the <strong>trusted.certs</strong> file from</p>
<p><strong>C:\Users\%userprofile%\AppData\LocalLow\Sun\Java\Deployment\security</strong></p>
<p>to</p>
<p><strong>C:\Windows\Sun\Java\Deployment</strong></p>
<p>You&#8217;re done.</p>
<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.</p>
<p>You can also use exception.sites list in the same way by copying the exception.sites file from <strong>C:\Users\%userprofile%\AppData\LocalLow\Sun\Java\Deployment\security</strong></p>
<p>to <strong>C:\Windows\Sun\Java\Deployment</strong></p>
<p>Now add the following line to <strong>deployment.properties</strong> file using Notepad:</p>
<p><strong>deployment.user.security.exception.sites<br />
=C\:\\Windows\\Sun\\Java\\Deployment\\exception.sites</strong></p>