mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-02-18 00:20:10 +00:00
GP-1296 corrected latent issue with self-signed cert generation
This commit is contained in:
parent
754c67b295
commit
6dd6486627
@ -15,7 +15,8 @@
|
||||
*/
|
||||
package ghidra.net;
|
||||
|
||||
import java.io.*;
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.IOException;
|
||||
import java.net.Socket;
|
||||
import java.security.*;
|
||||
import java.security.cert.CertificateException;
|
||||
@ -549,8 +550,8 @@ public class ApplicationKeyManagerFactory {
|
||||
char[] pwd = DEFAULT_PASSWORD.toCharArray();
|
||||
KeyStore selfSignedKeyStore =
|
||||
ApplicationKeyManagerUtils.createKeyStore("defaultSigKey",
|
||||
defaultIdentity.getName(), SELF_SIGNED_DURATION_DAYS, null,
|
||||
new File(newKeystorePath), "JKS", pwd);
|
||||
defaultIdentity.getName(), SELF_SIGNED_DURATION_DAYS, null, null, "JKS",
|
||||
pwd);
|
||||
keystoreData = new ProtectedKeyStoreData(selfSignedKeyStore, pwd);
|
||||
isSelfSigned = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user