Jelajahi Sumber

Merge branch 'patch-1' of https://github.com/pandujar/elasticsearch into pandujar-patch-1

David Pilato 10 tahun lalu
induk
melakukan
8289ce827d

+ 2 - 2
plugins/cloud-azure/src/main/java/org/elasticsearch/cloud/azure/storage/AzureStorageServiceImpl.java

@@ -57,14 +57,14 @@ public class AzureStorageServiceImpl extends AbstractLifecycleComponent<AzureSto
         // We try to load storage API settings from `cloud.azure.`
         account = settings.get(ACCOUNT);
         key = settings.get(KEY);
-        blob = "http://" + account + ".blob.core.windows.net/";
+        blob = "https://" + account + ".blob.core.windows.net/";
 
         try {
             if (account != null) {
                 logger.trace("creating new Azure storage client using account [{}], key [{}], blob [{}]", account, key, blob);
 
                 String storageConnectionString =
-                        "DefaultEndpointsProtocol=http;"
+                        "DefaultEndpointsProtocol=https;"
                                 + "AccountName="+ account +";"
                                 + "AccountKey=" + key;