Skip to content

Commit

Permalink
Enable SSL for blob storage
Browse files Browse the repository at this point in the history
In order to increase Security.

The Microsoft Azure storage services support both HTTP and HTTPS; however, using HTTPS is highly recommended.
  • Loading branch information
pandujar committed Sep 15, 2015
1 parent ff4a11a commit 3961de3
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -57,14 +57,14 @@ public AzureStorageServiceImpl(Settings settings) {
// 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;

Expand Down

0 comments on commit 3961de3

Please sign in to comment.