diff --git a/.travis.yml b/.travis.yml
index ac4ff935160b17f877eaa7941e6895159aa4252d..5a19c62e8d90b0a2ba1f46ce843bd42354d6b6b7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,8 +3,10 @@ python:
   - "2.7"
   - "3.4"
   - "3.5"
+  - "3.6"
 env:
-  - FLASK=0.11
+  - FLASK=0.12.1
+  - FLASK=0.11.1
   - FLASK=0.10.1
 install:
   - pip install Flask==$FLASK
diff --git a/LICENSE b/LICENSE
index 215eb877912e17461f83c41335b5818b6da27be1..de96633cdd105841b63aa1caa9f45508001d77b1 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
 The MIT License (MIT)
 
-Copyright (c) 2016 Alexandre Ferland
+Copyright (c) 2017 Alexandre Ferland
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
diff --git a/README.md b/README.md
index 73ea35d4118f6622d4fb107986a6cb73ef5c0dbe..62fa98bac31e583a3f6af1186268a32a546262f1 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ First, install Flask-SimpleLDAP:
     
 Flask-SimpleLDAP depends, and will install for you, recent versions of Flask
 (0.10.1 or later) and [pyldap](https://github.com/pyldap/pyldap). Flask-SimpleLDAP is compatible
-with and tested on Python 2.7, 3.4 and 3.5.
+with and tested on Python 2.7, 3.4, 3.5 and 3.6.
 
 Next, add a ``LDAP`` instance to your code and at least the three
 required configuration options:
diff --git a/dev_requirements.txt b/dev_requirements.txt
index b04e4af45934cf5b7eaeae1d28628ba5f5c2be39..719efad84e0b52237a82bd28098bce888518c42f 100644
--- a/dev_requirements.txt
+++ b/dev_requirements.txt
@@ -1,3 +1,3 @@
 -r requirements.txt
-pyldap==2.4.25.1  # here instead of requirements.txt so rtfd can build
-Sphinx==1.4.3
+pyldap>=2.4.28  # here instead of requirements.txt so rtfd can build
+Sphinx>=1.5.5
diff --git a/docs/conf.py b/docs/conf.py
index 49867afd54c755cfc0a0b51be8000e082ca57901..e6391197958e024eb9333e2e039d5190fc652974 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -16,6 +16,7 @@ import sys
 import os
 from mock import Mock as MagicMock
 
+
 class Mock(MagicMock):
     @classmethod
     def __getattr__(cls, name):
@@ -56,16 +57,16 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'Flask-SimpleLDAP'
-copyright = u'2016, Alexandre Ferland'
+copyright = u'2017, Alexandre Ferland'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
 # built documents.
 #
 # The short X.Y version.
-version = '1.1.0'
+version = '1.1.1'
 # The full version, including alpha/beta/rc tags.
-release = '1.1.0'
+release = '1.1.1'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff --git a/docs/index.rst b/docs/index.rst
index 1ab6e66ccaa9bedb929b75cdea2ccc38f09b4707..3cf6427a20e3579d30276c84cc2f6ae591eda13e 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -20,7 +20,7 @@ First, install Flask-SimpleLDAP:
 
 Flask-SimpleLDAP depends, and will install for you, recent versions of Flask
 (0.10.1 or later) and pyldap. Flask-SimpleLDAP is compatible
-with and tested on Python 2.7, 3.4 and 3.5.
+with and tested on Python 2.7, 3.4, 3.5 and 3.6.
 
 Next, add a :class:`~flask_simpleldap.LDAP` to your code and at least the three
 required configuration options:
@@ -116,6 +116,10 @@ History
 
 Changes:
 
+- 1.1.1 April 10, 2017
+  - Merge GitHub pull `#26 <https://github.com/admiralobvious/flask-simpleldap/pull/26>`_,
+    Fix set_option call to LDAP for SSL CERT
+
 - 1.1.0 June 7, 2016
 
   - Add the ability the pass any valid pyldap config options via the LDAP_CUSTOM_OPTIONS configuration directive.
diff --git a/flask_simpleldap/__init__.py b/flask_simpleldap/__init__.py
index 3faceb53da76cb965fa929b6f73abeca3a759a79..f32acf00a343ce567fbbc4f100b89208b4cfa691 100644
--- a/flask_simpleldap/__init__.py
+++ b/flask_simpleldap/__init__.py
@@ -69,7 +69,7 @@ class LDAP(object):
             ldap.set_option(ldap.OPT_X_TLS_REQUIRE_CERT,
                             ldap.OPT_X_TLS_DEMAND)
             ldap.set_option(ldap.OPT_X_TLS_CACERTFILE,
-                             current_app.config['LDAP_CERT_PATH'])
+                            current_app.config['LDAP_CERT_PATH'])
 
         for option in ['USERNAME', 'PASSWORD', 'BASE_DN']:
             if app.config['LDAP_{0}'.format(option)] is None:
diff --git a/requirements.txt b/requirements.txt
index da538123c57247ba8d2657d80212ffedd9b4ff80..05f5b8e1ef7bc3dd2a341bf53c547217ae2efa02 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,2 +1,2 @@
-Flask==0.11
-mock==2.0.0  # for ci
+Flask>=0.12.1
+mock>=2.0.0  # for ci
diff --git a/setup.py b/setup.py
index 4ab62db389525fd646ed2f299362a9bf207c295f..de66075dbf4f1f8042bacf61fbd04a3e11030a43 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ from setuptools import setup
 
 setup(
     name='Flask-SimpleLDAP',
-    version='1.1.0',
+    version='1.1.1',
     url='https://github.com/admiralobvious/flask-simpleldap',
     license='MIT',
     author='Alexandre Ferland',
@@ -32,6 +32,7 @@ setup(
         'Programming Language :: Python :: 2.7',
         'Programming Language :: Python :: 3.4',
         'Programming Language :: Python :: 3.5',
+        'Programming Language :: Python :: 3.6',
         'Topic :: Software Development :: Libraries :: Python Modules'
     ]
 )