Skip to content

Instantly share code, notes, and snippets.

@DuckSoft
Created June 2, 2018 18:55
Show Gist options
  • Save DuckSoft/4fc390b718198fc17894098d23865cec to your computer and use it in GitHub Desktop.
Save DuckSoft/4fc390b718198fc17894098d23865cec to your computer and use it in GitHub Desktop.
Flask 使用自定义SSL证书
    # from myapp import app
    app.run("0.0.0.0", port=443, ssl_context=("xxx.cer", "xxx.key"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment