どのようにインポートし、すべての既存のX.509証明書と鍵をJavaで使用するキーストアにSSLってなに?

StackOverflow https://stackoverflow.com/questions/906402

  •  05-09-2019
  •  | 
  •  

質問

私はここにActiveMQ config:

<sslContext>
        <sslContext keyStore="file:/home/alex/work/amq/broker.ks"  
 keyStorePassword="password" trustStore="file:${activemq.base}/conf/broker.ts" 
 trustStorePassword="password"/>
</sslContext>

いペアのX.509証明書と鍵ファイルです。

どうしてインポート方のために使用してSSL SSL+ストンプのコネクタ?すべての事例かgoogle常生の鍵はそれ自体がすでに持っています。

していました

keytool -import  -keystore ./broker.ks -file mycert.crt

でもこれだけの輸入の証明書の鍵ファイルのパーミッションの結果から

2009-05-25 13:16:24,270 [localhost:61612] ERROR TransportConnector - Could not accept connection : No available certificate or key corresponds to the SSL cipher suites which are enabled.

私た列のcertのもの。

どうしてインポートのーション-キーとは何ですか。

役に立ちましたか?

解決

と思い、keytoolなどの基本機能などの輸入の鍵をkeystore.まこの 回避策 との合併PKSC12ファイルと秘密鍵、keystore.

ただ使用によりユーザーフレンド マイページ からIBMのためのキーストアの取り扱いの代わりにkeytool.exe.

他のヒント

を使って、次の二つの段階があったのでコメント/ポリのその他の回答:

ステップ:に変換す。509証明書と鍵をpkcs12ファイル

openssl pkcs12 -export -in server.crt -inkey server.key \
               -out server.p12 -name [some-alias] \
               -CAfile ca.crt -caname root

注意: ただくにはパスワードにpkcs12ファイル-その他多くのnullポインタを除きるようになっています.場合は誰がこの頭痛).(コjocull!)

注2: するために追加の -chain オプションの保存への証明書チェーン.(コMafuba)

ステップ:変換にpkcs12ファイルをJavaのキーストア

keytool -importkeystore \
        -deststorepass [changeit] -destkeypass [changeit] -destkeystore server.keystore \
        -srckeystore server.p12 -srcstoretype PKCS12 -srcstorepass some-password \
        -alias [some-alias]

完成

オプションのステップ-ゼロを自己署名証明書

openssl genrsa -out server.key 2048
openssl req -new -out server.csr -key server.key
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt

感謝!

Keytool Java6はこの機能: 輸入の鍵へのJavaのキーストアを使用keytool

ここでの基本的な内容からいます。

  1. 変換は、既存のcertにPKCS12をOpenSSL.パスワードが必要なのがあった第2ステップで文章がありました。

    openssl pkcs12 -export -in [my_certificate.crt] -inkey [my_key.key] -out [keystore.p12] -name [new_alias] -CAfile [my_ca_bundle.crt] -caname root
    
  2. 変換にPKCS12をJavaのキーストアファイルです。

    keytool -importkeystore -deststorepass [new_keystore_pass] -destkeypass [new_key_pass] -destkeystore [keystore.jks] -srckeystore [keystore.p12] -srcstoretype PKCS12 -srcstorepass [pass_used_in_p12_keystore] -alias [alias_used_in_p12_keystore]
    

そしてもう一つます:

#!/bin/bash

# We have:
#
# 1) $KEY : Secret key in PEM format ("-----BEGIN RSA PRIVATE KEY-----") 
# 2) $LEAFCERT : Certificate for secret key obtained from some
#    certification outfit, also in PEM format ("-----BEGIN CERTIFICATE-----")   
# 3) $CHAINCERT : Intermediate certificate linking $LEAFCERT to a trusted
#    Self-Signed Root CA Certificate 
#
# We want to create a fresh Java "keystore" $TARGET_KEYSTORE with the
# password $TARGET_STOREPW, to be used by Tomcat for HTTPS Connector.
#
# The keystore must contain: $KEY, $LEAFCERT, $CHAINCERT
# The Self-Signed Root CA Certificate is obtained by Tomcat from the
# JDK's truststore in /etc/pki/java/cacerts

# The non-APR HTTPS connector (APR uses OpenSSL-like configuration, much
# easier than this) in server.xml looks like this 
# (See: https://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html):
#
#  <Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
#                SSLEnabled="true"
#                maxThreads="150" scheme="https" secure="true"
#                clientAuth="false" sslProtocol="TLS"
#                keystoreFile="/etc/tomcat6/etl-web.keystore.jks"
#                keystorePass="changeit" />
#

# Let's roll:    

TARGET_KEYSTORE=/etc/tomcat6/foo-server.keystore.jks
TARGET_STOREPW=changeit

TLS=/etc/pki/tls

KEY=$TLS/private/httpd/foo-server.example.com.key
LEAFCERT=$TLS/certs/httpd/foo-server.example.com.pem
CHAINCERT=$TLS/certs/httpd/chain.cert.pem

# ----
# Create PKCS#12 file to import using keytool later
# ----

# From https://www.sslshopper.com/ssl-converter.html:
# The PKCS#12 or PFX format is a binary format for storing the server certificate,
# any intermediate certificates, and the private key in one encryptable file. PFX
# files usually have extensions such as .pfx and .p12. PFX files are typically used 
# on Windows machines to import and export certificates and private keys.

TMPPW=$$ # Some random password

PKCS12FILE=`mktemp`

if [[ $? != 0 ]]; then
  echo "Creation of temporary PKCS12 file failed -- exiting" >&2; exit 1
fi

TRANSITFILE=`mktemp`

if [[ $? != 0 ]]; then
  echo "Creation of temporary transit file failed -- exiting" >&2; exit 1
fi

cat "$KEY" "$LEAFCERT" > "$TRANSITFILE"

openssl pkcs12 -export -passout "pass:$TMPPW" -in "$TRANSITFILE" -name etl-web > "$PKCS12FILE"

/bin/rm "$TRANSITFILE"

# Print out result for fun! Bug in doc (I think): "-pass " arg does not work, need "-passin"

openssl pkcs12 -passin "pass:$TMPPW" -passout "pass:$TMPPW" -in "$PKCS12FILE" -info

# ----
# Import contents of PKCS12FILE into a Java keystore. WTF, Sun, what were you thinking?
# ----

if [[ -f "$TARGET_KEYSTORE" ]]; then
  /bin/rm "$TARGET_KEYSTORE"
fi

keytool -importkeystore \
   -deststorepass  "$TARGET_STOREPW" \
   -destkeypass    "$TARGET_STOREPW" \
   -destkeystore   "$TARGET_KEYSTORE" \
   -srckeystore    "$PKCS12FILE" \
   -srcstoretype  PKCS12 \
   -srcstorepass  "$TMPPW" \
   -alias foo-the-server

/bin/rm "$PKCS12FILE"

# ----
# Import the chain certificate. This works empirically, it is not at all clear from the doc whether this is correct
# ----

echo "Importing chain"

TT=-trustcacerts

keytool -import $TT -storepass "$TARGET_STOREPW" -file "$CHAINCERT" -keystore "$TARGET_KEYSTORE" -alias chain

# ----
# Print contents
# ----

echo "Listing result"

keytool -list -storepass "$TARGET_STOREPW" -keystore "$TARGET_KEYSTORE"

はい、それは確かにkeytoolは秘密鍵をインポートするには何の機能を持っていないという悲しい事実です。

記録のために、最後に私は解決策説明<のhref = "https://web.archive.org/web/20160106102307/http://www.agentbob.info/agentbob/79-ABと一緒に行きました.htmlを」REL = "nofollowをnoreferrer">ここの

まずP12に変換します:

openssl pkcs12 -export -in [filename-certificate] -inkey [filename-key] -name [host] -out [filename-new-PKCS-12.p12]

P12から新しいJKSを作成します:

keytool -importkeystore -deststorepass [password] -destkeystore [filename-new-keystore.jks] -srckeystore [filename-new-PKCS-12.p12] -srcstoretype PKCS12

私の場合は、相互SSL認証で使用される2つの証明書と暗号化された秘密鍵を含まPEMファイルを持っていました。 だから私のPEMファイルはこのように見えます:

-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,C8BF220FC76AA5F9
...
-----END RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----

ここで私がやったことです。

それぞれがただ一つのエントリが含まれるように、3つの別々のファイルにファイルを分割し、 始まる "--- BEGIN .." で終わる "--- END .." ライン。 cert1.pem cert2.pemとpkey.pem

:私たちは今、3つのファイルを持っていると仮定しましょう

のopensslと、次の構文を使用してDER形式にpkey.pemを変換します:

openssl pkcs8 -topk8 -nocrypt -in pkey.pem -inform PEM -out pkey.der -outform DER

秘密鍵が暗号化されている場合は、パスワードを入力する必要があること

注、(オリジナルのPEMファイルのサプライヤーから入手) DER形式に変換します、 OpenSSLは、このようなパスワードの入力を要求されます:「pkey.pemのためのパスphrazeを入力します。」 変換が成功した場合は、「pkey.der」と呼ばれる新しいファイルを取得します。

新しいJavaキーストアを作成し、秘密鍵と証明書をインポートします:

String keypass = "password";  // this is a new password, you need to come up with to protect your java key store file
String defaultalias = "importkey";
KeyStore ks = KeyStore.getInstance("JKS", "SUN");

// this section does not make much sense to me, 
// but I will leave it intact as this is how it was in the original example I found on internet:   
ks.load( null, keypass.toCharArray());
ks.store( new FileOutputStream ( "mykeystore"  ), keypass.toCharArray());
ks.load( new FileInputStream ( "mykeystore" ),    keypass.toCharArray());
// end of section..


// read the key file from disk and create a PrivateKey

FileInputStream fis = new FileInputStream("pkey.der");
DataInputStream dis = new DataInputStream(fis);
byte[] bytes = new byte[dis.available()];
dis.readFully(bytes);
ByteArrayInputStream bais = new ByteArrayInputStream(bytes);

byte[] key = new byte[bais.available()];
KeyFactory kf = KeyFactory.getInstance("RSA");
bais.read(key, 0, bais.available());
bais.close();

PKCS8EncodedKeySpec keysp = new PKCS8EncodedKeySpec ( key );
PrivateKey ff = kf.generatePrivate (keysp);


// read the certificates from the files and load them into the key store:

Collection  col_crt1 = CertificateFactory.getInstance("X509").generateCertificates(new FileInputStream("cert1.pem"));
Collection  col_crt2 = CertificateFactory.getInstance("X509").generateCertificates(new FileInputStream("cert2.pem"));

Certificate crt1 = (Certificate) col_crt1.iterator().next();
Certificate crt2 = (Certificate) col_crt2.iterator().next();
Certificate[] chain = new Certificate[] { crt1, crt2 };

String alias1 = ((X509Certificate) crt1).getSubjectX500Principal().getName();
String alias2 = ((X509Certificate) crt2).getSubjectX500Principal().getName();

ks.setCertificateEntry(alias1, crt1);
ks.setCertificateEntry(alias2, crt2);

// store the private key
ks.setKeyEntry(defaultalias, ff, keypass.toCharArray(), chain );

// save the key store to a file         
ks.store(new FileOutputStream ( "mykeystore" ),keypass.toCharArray());

(オプション)新しいキーストアの内容を確認します:

keytool -list -keystore mykeystore -storepass password

  

キーストアのタイプ:JKSキーストアプロバイダ:SUN

     

あなたのキーストアが3つのエントリが含まれています。

     

、CN = ...、OU = ...、O = ..、2014年9月2日、trustedCertEntry、証明書   指紋(SHA1):2C:B8:...

     

importkey、2014年9月2日、てPrivateKeyEntry、証明書のフィンガープリント   (SHA1):9C:B0:...

     

、CN = ...、O = ....、2014年9月2日、trustedCertEntry、証明書のフィンガープリント   (SHA1):83:63:...

(オプション)ご使用のSSLサーバーに対して新しいキーストアから、証明書と秘密鍵をテストします。 (あなたはVMのオプションとしてデバッグを有効にすることができます:-Djavax.net.debug =すべて)

        char[] passw = "password".toCharArray();
        KeyStore ks = KeyStore.getInstance("JKS", "SUN");
        ks.load(new FileInputStream ( "mykeystore" ), passw );

        KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509");
        kmf.init(ks, passw);

        TrustManagerFactory tmf = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
        tmf.init(ks);
        TrustManager[] tm = tmf.getTrustManagers();

        SSLContext sclx = SSLContext.getInstance("TLS");
        sclx.init( kmf.getKeyManagers(), tm, null);

        SSLSocketFactory factory = sclx.getSocketFactory();
        SSLSocket socket = (SSLSocket) factory.createSocket( "192.168.1.111", 443 );
        socket.startHandshake();

        //if no exceptions are thrown in the startHandshake method, then everything is fine..
計画はそれを使用する場合は、

最後のHttpsURLConnectionを使用して証明書を登録します:

        char[] passw = "password".toCharArray();
        KeyStore ks = KeyStore.getInstance("JKS", "SUN");
        ks.load(new FileInputStream ( "mykeystore" ), passw );

        KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509");
        kmf.init(ks, passw);

        TrustManagerFactory tmf = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
        tmf.init(ks);
        TrustManager[] tm = tmf.getTrustManagers();

        SSLContext sclx = SSLContext.getInstance("TLS");
        sclx.init( kmf.getKeyManagers(), tm, null);

        HostnameVerifier hv = new HostnameVerifier()
        {
            public boolean verify(String urlHostName, SSLSession session)
            {
                if (!urlHostName.equalsIgnoreCase(session.getPeerHost()))
                {
                    System.out.println("Warning: URL host '" + urlHostName + "' is different to SSLSession host '" + session.getPeerHost() + "'.");
                }
                return true;
            }
        };

        HttpsURLConnection.setDefaultSSLSocketFactory( sclx.getSocketFactory() );
        HttpsURLConnection.setDefaultHostnameVerifier(hv);

ご回答に基づき、ここにはどのようにまったく新しいキーストアのためのjavaベースのウェブサーバは、独自に作成Comodo certと鍵を使用keytoolない場合がありますJDK1.6+)

  1. このコマンドにパスワードを迅速かつ入somepass-'サーバーです。crtはサーバの証明書および'サーバーです。鍵の鍵を使用した発行のCSR openssl pkcs12 -export -in server.crt -inkey server.key -out server.p12 -name www.yourdomain.com -CAfile AddTrustExternalCARoot.crt -caname "AddTrust External CA Root"

  2. Keytoolを使用しに変換するp12キーストアにjksキーストア keytool -importkeystore -deststorepass somepass -destkeypass somepass -destkeystore keystore.jks -srckeystore server.p12 -srcstoretype PKCS12 -srcstorepass somepass

その輸入、その他の二つのルート/中間certsを受けたときからComodo:

  1. 輸入COMODORSAAddTrustCA.crt: keytool -import -trustcacerts -alias cert1 -file COMODORSAAddTrustCA.crt -keystore keystore.jks

  2. 輸入COMODORSADomainValidationSecureServerca.crt: keytool -import -trustcacerts -alias cert2 -file COMODORSADomainValidationSecureServerCA.crt -keystore keystore.jks

利用できることを例に、輸入の既存のkeystore.この指示を組み合わせから回答がこのスレッドおよびその他のサイト。これらの指示がたまるのもったいなかったのjavaのキーストア):

openssl pkcs12 -export -in yourserver.crt -inkey yourkey.key -out server.p12 -name somename -certfile yourca.crt -caname root

(必要な場合は、チェーンのオプションです。けることに失敗したい。このお伺いさせて頂いております、パスワードにしなければなりませんし、正しいパスワードの他のを取得しますエラー (見出しエラーまたはパディングエラーです。

  1. まだ入力新しいパスワードを必ず入力してくださいこちらからパスワード入力も覚えています。(と仮定しましょうを入力すAragorn).
  2. このことを、サーバーにコピーします。p12ファイルのpkcs形式です。
  3. 現在取り込むことにより、 *.jks ファイルを実行します:
    keytool -importkeystore -srckeystore server.p12 -srcstoretype PKCS12 -destkeystore yourexistingjavakeystore.jks -deststoretype JKS -deststorepass existingjavastorepassword -destkeypass existingjavastorepassword
    (非常に重要なのdeststorepassのdestkeypassパラメータ)
  4. でして頂くようお願いしますのsrcキーストアのパスワードになります。入Aragornおよびヒット。証明書のキーは輸入され、既存のjava keystore.

前の答えはあなただけPKCS#最初の12形式にJKSファイルを変換することによって、標準のJDKツールでこれを行うことができますことを正しく指摘しています。あなたが興味を持っている場合、私は一緒にPKCS#12最初にキーストアを変換することなくJKS形式のキーストアにOpenSSLの由来キーをインポートするには、コンパクトなユーティリティを置く:<のhref = "http://commandlinefanatic.com/cgiを-bin / showarticle.cgi?記事= art049" のrel = "nofollowを"> http://commandlinefanatic.com/cgi-bin/showarticle.cgi?article=art049 の

あなたはこのようなリンクユーティリティを使用することになります:

$ openssl req -x509 -newkey rsa:2048 -keyout localhost.key -out localhost.csr -subj "/CN=localhost"

(localhost.cerを取り戻す、CSRに署名する)

$ openssl rsa -in localhost.key -out localhost.rsa
Enter pass phrase for localhost.key:
writing RSA key
$ java -classpath . KeyImport -keyFile localhost.rsa -alias localhost -certificateFile localhost.cer -keystore localhost.jks -keystorePassword changeit -keystoreType JKS -keyPassword changeit

またPEMファイル(例えば、 server.pem を含む:

  • の信頼できる証明書
  • 鍵の

そしてインポートできる証明書をキーにJKSキーストアのようになります:

1 コピー、鍵のPEMファイルをasciiファイル(例えば、 server.key)

2 コピーの証明書のPEMファイルをasciiファイル(例えば、 server.crt)

3 輸出のcertキーにPKCS12ファイル:

$ openssl pkcs12 -export -in server.crt -inkey server.key \
                 -out server.p12 -name [some-alias] -CAfile server.pem -caname root
  • のPEMファイルとして使用でき、引数の -CAfile オプション.
  • を要求される"輸出"とパスワードになります。
  • 場合、そのgit bashを追加 winpty の開始コマンドでは、輸出のパスワードを入力できます。

4)変換にPKCS12ファイルをJKSキーストア

$ keytool -importkeystore -deststorepass changeit -destkeypass changeit \
          -destkeystore keystore.jks  -srckeystore server.p12 -srcstoretype PKCS12 \
          -srcstorepass changeit
  • srcstorepass パスワードを一致させる必要がある輸出のパスワードからステップ3)

私たという名称を使うようになった利用者の秘密鍵証明書に署名メッセージしても良いと思っている所が付けられることがないよう、メッセージから来ているかにおいて鍵と署名が公開鍵暗号化).

うにしてください。.鍵ファイルのパーミッションできます。crtファイルとは何ですか?

してみてください:

Step1: 変換を鍵およびcert。p12ファイル

openssl pkcs12 -export -in certificate.crt -inkey privateKey.key -name alias -out yourconvertedfile.p12

ステップ2: 輸入キーを作成。品在庫は実店舗と共通のファイルは単一のコマンド

keytool -importkeystore -deststorepass changeit -destkeystore keystore.jks -srckeystore umeme.p12 -srcstoretype PKCS12

ステップ3: Java:

char[] keyPassword = "changeit".toCharArray();

KeyStore keyStore = KeyStore.getInstance("JKS");
InputStream keyStoreData = new FileInputStream("keystore.jks");

keyStore.load(keyStoreData, keyPassword);
KeyStore.ProtectionParameter entryPassword = new KeyStore.PasswordProtection(keyPassword);
KeyStore.PrivateKeyEntry privateKeyEntry = (KeyStore.PrivateKeyEntry)keyStore.getEntry("alias", entryPassword);

System.out.println(privateKeyEntry.toString());

まだ一部の文字列をこの鍵は、以下の

ステップ1:変換したいテキストを暗号化

byte[] data = "test".getBytes("UTF8");

ステップ2:車base64符号化された鍵

keyStore.load(keyStoreData, keyPassword);

//get cert, pubkey and private key from the store by alias
Certificate cert = keyStore.getCertificate("localhost");
PublicKey publicKey = cert.getPublicKey();
KeyPair keyPair = new KeyPair(publicKey, (PrivateKey) key);

//sign with this alg
Signature sig = Signature.getInstance("SHA1WithRSA");
sig.initSign(keyPair.getPrivate());
sig.update(data);
byte[] signatureBytes = sig.sign();
System.out.println("Signature:" + Base64.getEncoder().encodeToString(signatureBytes));

sig.initVerify(keyPair.getPublic());
sig.update(data);

System.out.println(sig.verify(signatureBytes));

参考文献:

  1. どのようにインポートし、すべての既存のx509証明書およびデバイス内の秘密鍵がJavaで使用するキーストアにSSLってなに?
  2. http://tutorials.jenkov.com/java-cryptography/keystore.html
  3. http://www.java2s.com/Code/Java/Security/RetrievingaKeyPairfromaKeyStore.htm
  4. どのように署名文字列の鍵

最終プログラム

public static void main(String[] args) throws Exception {

    byte[] data = "test".getBytes("UTF8");

    // load keystore
    char[] keyPassword = "changeit".toCharArray();

    KeyStore keyStore = KeyStore.getInstance("JKS");
    //System.getProperty("user.dir") + "" < for a file in particular path 
    InputStream keyStoreData = new FileInputStream("keystore.jks");
    keyStore.load(keyStoreData, keyPassword);

    Key key = keyStore.getKey("localhost", keyPassword);

    Certificate cert = keyStore.getCertificate("localhost");

    PublicKey publicKey = cert.getPublicKey();

    KeyPair keyPair = new KeyPair(publicKey, (PrivateKey) key);

    Signature sig = Signature.getInstance("SHA1WithRSA");

    sig.initSign(keyPair.getPrivate());
    sig.update(data);
    byte[] signatureBytes = sig.sign();
    System.out.println("Signature:" + Base64.getEncoder().encodeToString(signatureBytes));

    sig.initVerify(keyPair.getPublic());
    sig.update(data);

    System.out.println(sig.verify(signatureBytes));
}

ただ、PKCS12キーストアを作成し、Javaは直接、今それを使用することができます。あなたはJavaスタイルのキーストアを一覧表示する場合は実際には、キーツール自体は、PKCS12は今の好適なフォーマットであるという事実を警告ます。

openssl pkcs12 -export -in server.crt -inkey server.key \
               -out server.p12 -name [some-alias] \
               -CAfile ca.crt -caname root -chain

あなたはあなたの証明書プロバイダからすべての3つのファイル(をserver.crt、server.keyの、ca.crt)を受け取っているはずです。私は「-canameルート」は、実際に何を意味するのかわからないが、そのように指定する必要があるようです。

Javaコードでは、右のキーストアのタイプを指定してください。

KeyStore.getInstance("PKCS12")

私はNanoHTTPDにこの方法を正常に動作し、私のcomodo.comが発行したSSL証明書を持っています。

を使用しましょう暗号化の証明書

というお客様の証明書と非公開鍵 ましょう暗号化/etc/letsencrypt/live/you.com:

1.の作成 PKCS#12 ファイル

openssl pkcs12 -export -in fullchain.pem -inkey privkey.pem -out pkcs.p12 \
        -name letsencrypt

この合SSL証明書 fullchain.pem や、プライベートキー privkey.pem 単一のファイル pkcs.p12.

また、パスワード pkcs.p12.

export オプションを指定するPKCS#12ファイルが作成されるようになりより解析されたから マニュアル).

2.を、Javaのキーストア

keytool -importkeystore -destkeystore keystore.jks -srckeystore pkcs.p12 \
        -srcstoretype PKCS12 -alias letsencrypt

の場合 keystore.jks 存在しない作成されますの pkcs.12 ファイルが作成されました。その他、輸入 pkcs.12 既存のキーストア.


これらの指示から このブログ.

ここに。 の異なる種類のファイル /etc/letsencrypt/live/you.com/.

楕円曲線の場合との質問に答えるのJavaキーストアの中で、既存のx509証明書と秘密鍵をインポートするには、このスレッド<のhref = "httpsにも外観を持つようにしたいことがあります。 //stackhttps://stackoverflow.com/a/55269325/3785184" のrel = "nofollowをnoreferrer">の.pemファイル形式のであるJavaでECプライベートキーの読み方

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top