Alibabacloud.com offers a wide variety of articles about java keytool import certificate, easily find your java keytool import certificate information here online.
Note that when importing a certificate, verify that the imported JDK is the JDK that the current program is running in, and that the path is the JRE directory path under the JDK directory, not the JRE directory that is peer to the JDKFirst, you can put the certificate you need to import in the Keytool's sibling directory, and then execute the following command.
In the past two days, the company needs to use digital certificates to retrieve and paste the code N years ago.
Package COM. jinhill. util; import Java. io. *; import Java. security. *; import Java. security. cert. certificateexc
In the process of developing or using SSL, a lot of software needs us to provide Java KeyStore, especially some Java-based middleware products.Our usual practice is that the JDK comes with a tool command (Keytool) to do, for example, the following exampleKeytool-import-v-alias entrust2048-file D:\certs\EnTrust2048.cer-
. * * This software are provided by the COPYRIGHT holders and CONTRIBUTORS ' as * is ' and any EXPRESS OR implied warranties, I Ncluding, LIMITED to, * The implied warranties of merchantability and FITNESS for A partIcular * PURPOSE is disclaimed. In NO EVENT shall the COPYRIGHT OWNER OR * CONTRIBUTORS is liable for any DIRECT, INDIRECT, incidental, special, * EXEMPLA RY, or consequential damages (including, but not LIMITED to, * procurement of substitute GOODS OR SERVICES; LOSS of Use, DATA, OR
holders and CONTRIBUTORS ' as * is ' and any EXPRESS OR implied warranties, I Ncluding, but not LIMITED to, * The implied warranties of merchantabilitY and FITNESS for A particular * PURPOSE is disclaimed. In NO EVENT shall the COPYRIGHT OWNER OR * CONTRIBUTORS is liable for any DIRECT, INDIRECT, incidental, special, * EXEMPLA RY, or consequential damages (including, but not LIMITED to, * procurement of substitute GOODS OR SERVICES; LOSS of Use, DATA, OR * profits; or business interruption) how
In the process of developing or using SSL, many software require us to provide Java KeyStore, especially some java-based middleware products. Our usual practice is to do the JDK's own tool command (Keytool), for example, the following exampleKeytool-import-v-alias entrust2048-file D:\certs\EnTrust2048.cer-keystore D:\c
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.