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?

1.opensslダウンロード
图片.png
2.環境変数設定
3.ダウンロード確認
cmd:openssl version
4..pfxファイル確認
cmd:openssl pkcs12 -info -in test001.pfx -nodes
5..pfxファイル.pemファイルに変換
cmd:openssl pkcs12 -in test001.pfx -out test001.pem -nodes
6..pfxファイル.crtファイルに変換
cmd:openssl pkcs12 -in test001.pfx -clcerts -nokeys -out test001.crt
7.javaに導入
keytool -import -trustcacerts -alias mycert -file test001.crt -keystore cacerts
8.

openssl pkcs12 -in test001.pfx -clcerts -nokeys -out test001.cer
keytool -import -trustcacerts -keystore cacerts -storepass changeit -alias ftps-server -file test001.cer
9.

ftpsClient.execPBSZ(0);
ftpsClient.execPROT("P");
ftpsClient.enterLocalPassiveMode();

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?