diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ except ImportError:
 else:
     if not os.path.exists(swagger_ui.STATIC_DIR):
         swagger_ui.setup_ui('2.2.10')
-        swagger_ui.setup_ui('3.14.1')
+        swagger_ui.setup_ui('3.17.2')
 
 
 with open(os.path.join(os.path.abspath(os.path.dirname(
diff --git a/swagger_ui.py b/swagger_ui.py
index <HASH>..<HASH> 100755
--- a/swagger_ui.py
+++ b/swagger_ui.py
@@ -22,6 +22,7 @@ TEMPLATES_DIR = os.path.join(DIR, PACKAGE, 'templates', 'swagger-ui')
 PREFIX = '{{static_prefix}}'
 REPLACE_STRINGS = [
     ('http://petstore.swagger.io/v2/swagger.json', '{{url}}'),
+    ('https://petstore.swagger.io/v2/swagger.json', '{{url}}'),
     ('href="images', 'href="' + PREFIX + 'images'),
     ('src="images', 'src="' + PREFIX + 'images'),
     ("href='css", "href='" + PREFIX + 'css'),
bump swagger-ui to <I>