Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rodnt/flask-mtls
Poc of how to create MTLS with python and Flask
https://github.com/rodnt/flask-mtls
Last synced: 5 days ago
JSON representation
Poc of how to create MTLS with python and Flask
- Host: GitHub
- URL: https://github.com/rodnt/flask-mtls
- Owner: rodnt
- License: apache-2.0
- Created: 2024-04-19T21:26:19.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-19T21:33:45.000Z (9 months ago)
- Last Synced: 2024-04-19T22:28:45.202Z (9 months ago)
- Language: Shell
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# flask-mtls
Poc of how to create MTLS with python and Flask#### Install
```
$ git clone https://github.com/rodnt/flask-mtls.git
$ cd flask-mtls; pipenv shell
$ pipenv install -r Pipfile
$ ./gen-keys.sh
```#### Start the server
```bash
python3 main.py
```#### Testing with curl
```bash
curl https://localhost:5000/ --cert client.crt --key client.key --cacert ca.crt -v
```