0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Enabling Self-Signed SSL Certificates in Java Runtime

Posted at

Prerequisites

  • Java
  • Windows environment

Procedure

  1. Download the certificate. (It's easiest to open it in a browser by specifying the host and port number, then export it from "Certificate Details" and save it to your local disk.)
  2. Run Command Prompt as 'Administrator'. (Administrator privileges are necessary to add to the keystore.)
  3. Execute the following command:
"c:\Program Files\Java\jre1.8.0_241\bin\keytool.exe" -import -trustcacerts -file c:\work\yourhost.crt -keystore "c:\Program Files\Java\jre1.8.0_241\lib\security\cacerts"

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?