I'm triyng to make a flask app that will use open ssl. So far I've done this:
from flask.ext.script import Manager, Server from flask.ext.migrate import Migrate, MigrateCommand from OpenSSL import SSL import os from project import app, db app.config.from_object(os.environ['APP_SETTINGS']) migrate = Migrate(app, db) manager = Manager(app) manager.add_command('db', MigrateCommand) manager.add_command("runserver", Server(ssl_context=('./server.crt', './server.key'))) if __name__ == '__main__': manager.run() When I run the server I see that Firefox wants to add an exception for unseccure connection, or Chrome says that connection isn't seccure and asksk if I want to continue unseccure connection. Must it be that way ? Do I have to change something ?