diff --git a/config/config.sample.php b/config/config.sample.php
index 1bfae366fff3f835ba663b6598a11f00049beb17..24c1579badfa3954e33cc4d86b73035e7438d5bb 100755
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -88,7 +88,7 @@ $CONFIG = array(
 "appstoreenabled" => true,
 
 /* URL of the appstore to use, server should understand OCS */
-"appstoreurl" => "http://api.apps.owncloud.com/v1",
+"appstoreurl" => "https://api.owncloud.com/v1",
 
 /* Domain name used by ownCloud for the sender mail address, e.g. no-reply@example.com */
 "mail_domain" => "example.com",
diff --git a/lib/private/ocsclient.php b/lib/private/ocsclient.php
index 39d7e9ccccdf66f1cb18bc0b0115500eed46e2f8..dc52fc27b5e027d4b7744efe6ead029702b26c57 100644
--- a/lib/private/ocsclient.php
+++ b/lib/private/ocsclient.php
@@ -37,7 +37,7 @@ class OC_OCSClient{
 	 */
 	private static function getAppStoreURL() {
 		if(OC_Util::getEditionString()===''){
-			$default='http://api.apps.owncloud.com/v1';
+			$default='https://api.owncloud.com/v1';
 		}else{
 			$default='';
 		}