diff --git a/pom.xml b/pom.xml index 32b1fd1..77e99cb 100644 --- a/pom.xml +++ b/pom.xml @@ -53,7 +53,7 @@ com.microsoft.azure azure - 1.30.0 + 1.36.3 commons-net diff --git a/src/main/java/com/microsoft/azure/management/samples/Utils.java b/src/main/java/com/microsoft/azure/management/samples/Utils.java index 9940f93..a385709 100644 --- a/src/main/java/com/microsoft/azure/management/samples/Utils.java +++ b/src/main/java/com/microsoft/azure/management/samples/Utils.java @@ -1420,7 +1420,7 @@ public static void createCertificate(String certPath, String pfxPath, "-keystore", pfxPath, "-storepass", password, "-validity", validityInDays, "-keyalg", keyAlg, "-sigalg", sigAlg, "-keysize", keySize, "-storetype", storeType, "-dname", "CN=" + cnName, "-ext", "EKU=1.3.6.1.5.5.7.3.1"}; - Utils.cmdInvocation(commandArgs, false); + Utils.cmdInvocation(commandArgs, true); // Create cer file i.e. extract public key from pfx File pfxFile = new File(pfxPath);