keyStoreLocation = keystoreFile.getAbsolutePath(); } else { File dir = info.getBaseDir(); if (dir != null) { keystoreFile = new File(dir, "config" + File.separator + "fabric3-keystore.jks"); keystoreFile = new File(keyStoreLocation); if (!keystoreFile.isAbsolute()) { File dir = info.getBaseDir(); keystoreFile = new File(dir, "config" + File.separator + keyStoreLocation); keyStoreLocation = keystoreFile.getAbsolutePath();
private void initializeTrustStore() throws IOException, KeyStoreException, NoSuchAlgorithmException, CertificateException { truststoreFile = null; if (trustStoreLocation == null) { File dir = info.getBaseDir(); File file = new File(dir, "config" + File.separator + "fabric3-keystore.jks"); if (dir != null && file.exists()) {
private void initializeTrustStore() throws IOException, KeyStoreException, NoSuchAlgorithmException, CertificateException { truststoreFile = null; if (trustStoreLocation == null) { File dir = info.getBaseDir(); File file = new File(dir, "config" + File.separator + "fabric3-keystore.jks"); if (dir != null && file.exists()) {
keyStoreLocation = keystoreFile.getAbsolutePath(); } else { File dir = info.getBaseDir(); if (dir != null) { keystoreFile = new File(dir, "config" + File.separator + "fabric3-keystore.jks"); keystoreFile = new File(keyStoreLocation); if (!keystoreFile.isAbsolute()) { File dir = info.getBaseDir(); keystoreFile = new File(dir, "config" + File.separator + keyStoreLocation); keyStoreLocation = keystoreFile.getAbsolutePath();