
To get this command running without any user interaction I suggest to run it as a PowerShell script in system context during client login. If you have installed the JRE with default settings the standard keystore is always called “cacerts” and always protected by the password “changeit”. The following command will import the certificate “C:\certificate.cer” to the keystore “cacerts” that is protected by the password “changeit”. This is only possible by using keytool.exe that is located in every standard JRE installation C:\Program Files (x86)\Java\jre1.8.0_144\bin\keytool.exe To download Java for Windows, visit the official website of Oracle Website’s Java, go to ‘ Java SE Development Kit 8u144‘, and click on the link jdk-8u144-windows-圆4.exe as shown in the below image.You can import certificates as user certificates by the graphical user interface but you are not allowed to add any system certificates. Step-1: Download Java JDK 1.8 for Windows 10 64-bit

NOTE: If your system is of Windows 32-bit operating system then you should install JDK 32 bit and if your system is of Windows 64 bit operating system then you have a choice either you can install JDK 64 bit or JDK 32-bit in your system. If you are interested in downloading and installing the latest update JDK 1.8 ( 8u351), then you can visit another article here: JDK 8 Installation on Windows 10

Here we are going to download 64-bit JDK 1.8 ( 8u144) and install it on the 64-bit Windows 10 Operating System.

